pub enum SleepError {
BadContext(MaybeKind),
NotSupported(MaybeKind),
Released(MaybeKind),
TerminateRequest(MaybeKind),
}Available on crate feature
unstable only.Expand description
Error type for sleep.
This type is an error kind type.
Variants§
BadContext(MaybeKind)
Requires: cfg(not(feature = "none"))
NotSupported(MaybeKind)
The task is a restricted task.
Requires: cfg(all(not(feature = "none"), feature = "rstr_task"))
Released(MaybeKind)
Requires: cfg(not(feature = "none"))
TerminateRequest(MaybeKind)
Requires: cfg(not(feature = "none"))
Trait Implementations§
Source§impl Clone for SleepError
impl Clone for SleepError
Source§fn clone(&self) -> SleepError
fn clone(&self) -> SleepError
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 SleepError
impl Debug for SleepError
Source§impl ErrorKind for SleepError
impl ErrorKind for SleepError
Source§impl PartialEq for SleepError
impl PartialEq for SleepError
impl Copy for SleepError
impl Eq for SleepError
impl StructuralPartialEq for SleepError
Auto Trait Implementations§
impl Freeze for SleepError
impl RefUnwindSafe for SleepError
impl Send for SleepError
impl Sync for SleepError
impl Unpin for SleepError
impl UnwindSafe for SleepError
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