Struct tokio_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 Display for RunTimeoutError[src]
impl Display for RunTimeoutErrorfn fmt(&self, fmt: &mut Formatter) -> Result[src]
fn fmt(&self, fmt: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for RunTimeoutError[src]
impl Error for RunTimeoutErrorfn 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 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