Enum bytecodec::io::StreamState[][src]

pub enum StreamState {
    Normal,
    Eos,
    WouldBlock,
    Error,
}

State of I/O streams.

Variants

Methods

impl StreamState
[src]

Returns true if the state is Normal, otherwise false.

Returns true if the state is Error, otherwise false.

Returns true if the state is Eos, otherwise false.

Returns true if the state is WouldBlock, otherwise false.

Trait Implementations

impl Debug for StreamState
[src]

Formats the value using the given formatter. Read more

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 Hash for StreamState
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for StreamState

impl Sync for StreamState