pub enum ReadyError {
WrongGeneration {
supplied: u64,
expected: u64,
},
StaleWake {
supplied: u64,
outstanding: Option<u64>,
},
HandleLimit {
limit: usize,
},
ControlLimit {
control: &'static str,
limit: usize,
config_path: String,
},
InvalidSignal {
signal: i32,
},
StaleCapabilityGeneration {
capability_id: CapabilityId,
supplied: u64,
expected: u64,
},
MissingResourceLimit {
resource: ResourceClass,
},
RevisionExhausted {
capability_id: CapabilityId,
},
EpochExhausted,
WakeInvariant,
WakeDisconnected,
Poisoned,
}Variants§
WrongGeneration
StaleWake
HandleLimit
ControlLimit
InvalidSignal
StaleCapabilityGeneration
MissingResourceLimit
Fields
§
resource: ResourceClassRevisionExhausted
Fields
§
capability_id: CapabilityIdEpochExhausted
WakeInvariant
WakeDisconnected
Poisoned
Trait Implementations§
Source§impl Clone for ReadyError
impl Clone for ReadyError
Source§fn clone(&self) -> ReadyError
fn clone(&self) -> ReadyError
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 moreSource§impl Debug for ReadyError
impl Debug for ReadyError
Source§impl Display for ReadyError
impl Display for ReadyError
impl Eq for ReadyError
Source§impl Error for ReadyError
impl Error for ReadyError
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 ReadyError
impl PartialEq for ReadyError
impl StructuralPartialEq for ReadyError
Auto Trait Implementations§
impl Freeze for ReadyError
impl RefUnwindSafe for ReadyError
impl Send for ReadyError
impl Sync for ReadyError
impl Unpin for ReadyError
impl UnsafeUnpin for ReadyError
impl UnwindSafe for ReadyError
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