Struct httpbis::solicit::frame::ping::PingFrame [] [src]

pub struct PingFrame { /* fields omitted */ }

The struct represents the PINg HTTP/2 frame.

Methods

impl PingFrame
[src]

Create a new PING frame

Create a new PING frame with ACK set

Create a new PING frame with the given opaque_data

Trait Implementations

impl Clone for PingFrame
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PingFrame
[src]

Formats the value using the given formatter.

impl PartialEq for PingFrame
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Frame for PingFrame
[src]

The type that represents the flags that the particular Frame can take. This makes sure that only valid Flags are used with each Frame. Read more

Creates a new Frame from the given RawFrame (i.e. header and payload), if possible. Read more

Tests if the given flag is set for the frame.

Returns the StreamId of the stream to which the frame is associated

Returns a FrameHeader based on the current state of the Frame.

impl<'a> FrameIR for PingFrame
[src]

Write out the on-the-wire representation of the frame into the given FrameBuilder.