Struct tokio_current_thread::RunTimeoutError [−][src]
pub struct RunTimeoutError { /* fields omitted */ }
Error returned by the run_timeout
function.
Methods
impl RunTimeoutError
[src]
impl RunTimeoutError
pub fn is_timeout(&self) -> bool
[src]
pub fn is_timeout(&self) -> bool
Returns true
if the error was caused by the operation timing out.
Trait Implementations
impl Debug for RunTimeoutError
[src]
impl Debug for RunTimeoutError
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 Display for RunTimeoutError
[src]
impl Display for RunTimeoutError
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for RunTimeoutError
[src]
impl Error for RunTimeoutError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This 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 RunTimeoutError
fn from(_: EnterError) -> Self
[src]
fn from(_: EnterError) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for RunTimeoutError
impl Send for RunTimeoutError
impl Sync for RunTimeoutError
impl Sync for RunTimeoutError