Struct http_box::http2::Flags
[−]
[src]
pub struct Flags { /* fields omitted */ }Flags.
Methods
impl Flags[src]
Flags.
fn from_u8(byte: u8) -> Flags
Create a new Flags from a u8.
fn as_byte(&self) -> u8
Convert this flags to its byte value.
fn is_ack(&self) -> bool
Indicates that the ack flag has been set.
fn is_empty(&self) -> bool
Indicates that the flags are empty.
fn is_end_headers(&self) -> bool
Indicates that the end headers flag has been set.
fn is_end_stream(&self) -> bool
Indicates that the end stream flag has been set.
fn is_padded(&self) -> bool
Indicates that the padded flag has been set.
fn is_priority(&self) -> bool
Indicates that the priority flag has been set.
Trait Implementations
impl Clone for Flags[src]
fn clone(&self) -> Flags
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 Flags[src]
impl PartialEq for Flags[src]
fn eq(&self, __arg_0: &Flags) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Flags) -> bool
This method tests for !=.