Trait NonBlockingResult
trait NonBlockingResult
Non-blocking IO wrapper.
This trait is implemented for Result<T, E: NonBlockingError>.
Associated Types
type ResultType of the converted result:
Result<Option<T>, E>
Required Methods
fn no_block(self: Self) -> <Self as >::ResultPerform the non-block conversion.
Implementors
impl<T, E> NonBlockingResult for Result<T, E>