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

pub enum ReadStatus {
    Disconnected,
    WaitNextEvent,
}

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

impl Display for ReadStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.