Trait NonBlockingResult

trait NonBlockingResult

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

fn no_block(self: Self) -> <Self as >::Result

Perform the non-block conversion.

Implementors