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

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

State of I/O streams.

Variants

Methods

impl StreamState
[src]

[src]

Returns true if the state is Normal, otherwise false.

[src]

Returns true if the state is Error, otherwise false.

[src]

Returns true if the state is Eos, otherwise false.

[src]

Returns true if the state is WouldBlock, otherwise false.

Trait Implementations

impl Debug for StreamState
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for StreamState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for StreamState
[src]

impl PartialEq for StreamState
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for StreamState
[src]

impl Hash for StreamState
[src]

[src]

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

1.3.0
[src]

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

Auto Trait Implementations

impl Send for StreamState

impl Sync for StreamState