Trait tungstenite::util::NonBlockingResult[][src]

pub trait NonBlockingResult {
    type Result;
    fn no_block(self) -> Self::Result;
}

Non-blocking IO wrapper.

This trait is implemented for Result<T, E: NonBlockingError>.

Associated Types

Type of the converted result: Result<Option<T>, E>

Required Methods

Perform the non-block conversion.

Implementations on Foreign Types

impl<T, E> NonBlockingResult for StdResult<T, E> where
    E: NonBlockingError
[src]

Implementors