Trait NonBlockingResult
pub trait NonBlockingResult {
type Result;
// Required method
fn no_block(self) -> Self::Result;
}Expand description
Non-blocking IO wrapper.
This trait is implemented for Result<T, E: NonBlockingError>.
Required Associated Types§
type Result
type Result
Type of the converted result: Result<Option<T>, E>