Struct tokio::executor::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 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