pub struct TimeoutError;
Expand description
Error returned by with_timeout
and with_deadline
on timeout.
Trait Implementations§
Source§impl Clone for TimeoutError
impl Clone for TimeoutError
Source§fn clone(&self) -> TimeoutError
fn clone(&self) -> TimeoutError
Returns a copy 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 TimeoutError
impl Debug for TimeoutError
Source§impl Format for TimeoutError
impl Format for TimeoutError
Source§impl PartialEq for TimeoutError
impl PartialEq for TimeoutError
impl Eq for TimeoutError
impl StructuralPartialEq for TimeoutError
Auto Trait Implementations§
impl Freeze for TimeoutError
impl RefUnwindSafe for TimeoutError
impl Send for TimeoutError
impl Sync for TimeoutError
impl Unpin for TimeoutError
impl UnwindSafe for TimeoutError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)