Enum message_io::network::adapter::ReadStatus[][src]

pub enum ReadStatus {
    Disconnected,
    WaitNextEvent,
}
Expand description

Returned as a result of Remote::receive()

Variants

Disconnected

This status must be returned if the resource has been disconnected or there was an error. The resource will be removed after this call and no more Remote::receive() calls will be produced by this resource.

WaitNextEvent

This status must be returned when a the resource (treated as a non-bloking) would wait for process the next event. Usually, this status is returned if the resource receives a std::io::ErrorKind::WouldBlock.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.