[−][src]Struct solicit::http::frame::ping::PingFrame
The struct represents the PINg
HTTP/2 frame.
Implementations
impl PingFrame
[src]
pub fn new() -> Self
[src]
Create a new PING
frame
pub fn new_ack(opaque_data: u64) -> Self
[src]
Create a new PING frame with ACK set
pub fn with_data(opaque_data: u64) -> Self
[src]
Create a new PING
frame with the given opaque_data
pub fn is_ack(&self) -> bool
[src]
pub fn opaque_data(&self) -> u64
[src]
Trait Implementations
impl Clone for PingFrame
[src]
impl Debug for PingFrame
[src]
impl<'a> Frame<'a> for PingFrame
[src]
type FlagType = PingFlag
The type that represents the flags that the particular Frame
can take. This makes sure that only valid Flag
s are used with each Frame
. Read more
fn from_raw(raw_frame: &'a RawFrame<'a>) -> Option<Self>
[src]
fn is_set(&self, flag: PingFlag) -> bool
[src]
fn get_stream_id(&self) -> StreamId
[src]
fn get_header(&self) -> FrameHeader
[src]
impl<'a> FrameIR for PingFrame
[src]
fn serialize_into<B: FrameBuilder>(self, builder: &mut B) -> Result<()>
[src]
impl PartialEq<PingFrame> for PingFrame
[src]
impl StructuralPartialEq for PingFrame
[src]
Auto Trait Implementations
impl RefUnwindSafe for PingFrame
impl Send for PingFrame
impl Sync for PingFrame
impl Unpin for PingFrame
impl UnwindSafe for PingFrame
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,