Struct tokio::executor::current_thread::BlockError [−][src]
pub struct BlockError<T> { /* fields omitted */ }
Error returned by the block_on
function.
Methods
impl<T> BlockError<T>
[src]
impl<T> BlockError<T>
pub fn into_inner(self) -> Option<T>
[src]
pub fn into_inner(self) -> Option<T>
Returns the error yielded by the future being blocked on
Trait Implementations
impl<T: Debug> Debug for BlockError<T>
[src]
impl<T: Debug> Debug for BlockError<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> From<EnterError> for BlockError<T>
[src]
impl<T> From<EnterError> for BlockError<T>
fn from(_: EnterError) -> Self
[src]
fn from(_: EnterError) -> Self
Performs the conversion.
Auto Trait Implementations
impl<T> Send for BlockError<T> where
T: Send,
impl<T> Send for BlockError<T> where
T: Send,
impl<T> Sync for BlockError<T> where
T: Sync,
impl<T> Sync for BlockError<T> where
T: Sync,