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