pub enum BlockOnError {
TimedOut,
}Expand description
Error returned when a runtime-local future misses its monotonic deadline.
Variants§
TimedOut
The requested relative timeout elapsed before the future completed.
Trait Implementations§
Source§impl Clone for BlockOnError
impl Clone for BlockOnError
Source§fn clone(&self) -> BlockOnError
fn clone(&self) -> BlockOnError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BlockOnError
Source§impl Debug for BlockOnError
impl Debug for BlockOnError
Source§impl Display for BlockOnError
impl Display for BlockOnError
impl Eq for BlockOnError
Source§impl Error for BlockOnError
impl Error for BlockOnError
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 BlockOnError
impl PartialEq for BlockOnError
impl StructuralPartialEq for BlockOnError
Auto Trait Implementations§
impl Freeze for BlockOnError
impl RefUnwindSafe for BlockOnError
impl Send for BlockOnError
impl Sync for BlockOnError
impl Unpin for BlockOnError
impl UnsafeUnpin for BlockOnError
impl UnwindSafe for BlockOnError
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