Enum solicit::http::frame::headers::HeadersFlag [] [src]

pub enum HeadersFlag {
    EndStream,
    EndHeaders,
    Padded,
    Priority,
}

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

HTTP/2 spec, section 6.2.

Variants

EndStream
EndHeaders
Padded
Priority

Trait Implementations

impl Flag for HeadersFlag
[src]

fn bitmask(&self) -> u8

Returns a bit mask that represents the flag.

Derived Implementations

impl Clone for HeadersFlag
[src]

fn clone(&self) -> HeadersFlag

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 HeadersFlag
[src]

fn eq(&self, __arg_0: &HeadersFlag) -> 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 HeadersFlag
[src]

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

Formats the value using the given formatter.

impl Copy for HeadersFlag
[src]