pub struct TimedOutError;Expand description
Suspend-time’s equivalent of tokio’s tokio::time::error::Elapsed.
Constructing the Elapsed struct is impossible due to its private construct
and private members. As such, we must create our own struct
Trait Implementations§
Source§impl Clone for TimedOutError
impl Clone for TimedOutError
Source§fn clone(&self) -> TimedOutError
fn clone(&self) -> TimedOutError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimedOutError
impl Debug for TimedOutError
Source§impl Display for TimedOutError
impl Display for TimedOutError
Source§impl Error for TimedOutError
impl Error for TimedOutError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for TimedOutError
impl PartialEq for TimedOutError
impl StructuralPartialEq for TimedOutError
Auto Trait Implementations§
impl Freeze for TimedOutError
impl RefUnwindSafe for TimedOutError
impl Send for TimedOutError
impl Sync for TimedOutError
impl Unpin for TimedOutError
impl UnwindSafe for TimedOutError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more