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]
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) -> ResultFormats the value using the given formatter. Read more
impl<T> Display for BlockError<T>[src]
impl<T> Display for BlockError<T>fn fmt(&self, fmt: &mut Formatter) -> Result[src]
fn fmt(&self, fmt: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T: Debug> Error for BlockError<T>[src]
impl<T: Debug> Error for BlockError<T>fn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
fn cause(&self) -> Option<&Error>1.0.0
[src]The lower-level cause of this error, if any. 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) -> SelfPerforms 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,