Struct tokio::executor::current_thread::RunTimeoutError [−][src]
pub struct RunTimeoutError { /* fields omitted */ }Error returned by the run_timeout function.
Methods
impl RunTimeoutError[src]
impl RunTimeoutErrorpub fn is_timeout(&self) -> bool[src]
pub fn is_timeout(&self) -> boolReturns true if the error was caused by the operation timing out.
Trait Implementations
impl Debug for RunTimeoutError[src]
impl Debug for RunTimeoutErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<EnterError> for RunTimeoutError[src]
impl From<EnterError> for RunTimeoutErrorfn from(_: EnterError) -> Self[src]
fn from(_: EnterError) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for RunTimeoutError
impl Send for RunTimeoutErrorimpl Sync for RunTimeoutError
impl Sync for RunTimeoutError