Enum httpbis::solicit::session::StreamState [] [src]

pub enum StreamState {
    Idle,
    ReservedLocal,
    ReservedRemote,
    Open,
    HalfClosedRemote,
    HalfClosedLocal,
    Closed,
}

The enum represents all the states that an HTTP/2 stream can be found in.

Corresponds to section 5.1. of the spec.

Variants

Methods

impl StreamState
[src]

Returns whether the stream is closed.

A stream is considered to be closed iff its state is set to Closed.

Returns whether the stream is closed locally.

Returns whether the remote peer has closed the stream. This includes a fully closed stream.

Trait Implementations

impl Clone for StreamState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for StreamState
[src]

impl PartialEq for StreamState
[src]

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

This method tests for !=.

impl Eq for StreamState
[src]

impl Debug for StreamState
[src]

Formats the value using the given formatter.