Struct tokio_current_thread::BlockError[][src]

pub struct BlockError<T> { /* fields omitted */ }

Error returned by the block_on function.

Methods

impl<T> BlockError<T>
[src]

Returns the error yielded by the future being blocked on

Trait Implementations

impl<T: Debug> Debug for BlockError<T>
[src]

Formats the value using the given formatter. Read more

impl<T> Display for BlockError<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Debug> Error for BlockError<T>
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl<T> From<EnterError> for BlockError<T>
[src]

Performs the conversion.

Auto Trait Implementations

impl<T> Send for BlockError<T> where
    T: Send

impl<T> Sync for BlockError<T> where
    T: Sync