Enum solicit::http::frame::data::DataFlag [] [src]

pub enum DataFlag {
    EndStream,
    Padded,
}

An enum representing the flags that a DataFrame can have. The integer representation associated to each variant is that flag's bitmask.

HTTP/2 spec, section 6.1.

Variants

EndStreamPadded

Trait Implementations

impl Clone for DataFlag
[src]

fn clone(&self) -> DataFlag

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 PartialEq for DataFlag
[src]

fn eq(&self, __arg_0: &DataFlag) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for DataFlag
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for DataFlag
[src]

impl Flag for DataFlag
[src]

fn bitmask(&self) -> u8

Returns a bit mask that represents the flag.