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 Result
Type of the converted result: Result<Option<T>, E>
Required Methods
Implementations on Foreign Types
impl<T, E> NonBlockingResult for StdResult<T, E> where
E: NonBlockingError,
[src]
E: NonBlockingError,