Struct http_box::http2::FrameFormat
[−]
[src]
pub struct FrameFormat { /* fields omitted */ }Frame format.
Methods
impl FrameFormat[src]
fn new(
&mut self,
payload_length: u32,
frame_type: u8,
flags: u8,
stream_id: u32
) -> FrameFormat
&mut self,
payload_length: u32,
frame_type: u8,
flags: u8,
stream_id: u32
) -> FrameFormat
Create a new FrameFormat.
fn flags(&self) -> Flags
Retrieve the frame flags.
fn frame_type(&self) -> FrameType
Retrieve the frame type.
fn payload_length(&self) -> u32
Retrieve the payload length.
fn stream_id(&self) -> u32
Retrieve the stream identifier.
Trait Implementations
impl Clone for FrameFormat[src]
fn clone(&self) -> FrameFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for FrameFormat[src]
impl PartialEq for FrameFormat[src]
fn eq(&self, __arg_0: &FrameFormat) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &FrameFormat) -> bool
This method tests for !=.
impl Display for FrameFormat[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
Formats the value using the given formatter. Read more