#[non_exhaustive]pub enum RunWaitsError {
Empty,
TooMany {
maximum: usize,
actual: usize,
},
DuplicateIdentity,
MixedRegistrationTimes {
expected: Timestamp,
actual: Timestamp,
},
}Expand description
Invalid batch of run wait conditions.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Empty
A waiting transition supplied no condition.
TooMany
The hard simultaneous-condition ceiling was exceeded.
Fields
DuplicateIdentity
Two wait variants reused the same UUID identity.
MixedRegistrationTimes
One atomic wait registration contained multiple clock observations.
Trait Implementations§
Source§impl Clone for RunWaitsError
impl Clone for RunWaitsError
Source§impl Debug for RunWaitsError
impl Debug for RunWaitsError
Source§impl Display for RunWaitsError
impl Display for RunWaitsError
impl Eq for RunWaitsError
Source§impl Error for RunWaitsError
impl Error for RunWaitsError
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 RunWaitsError
impl PartialEq for RunWaitsError
impl StructuralPartialEq for RunWaitsError
Auto Trait Implementations§
impl Forget for RunWaitsError
impl Freeze for RunWaitsError
impl Move for RunWaitsError
impl RefUnwindSafe for RunWaitsError
impl Send for RunWaitsError
impl Sync for RunWaitsError
impl Unpin for RunWaitsError
impl UnsafeUnpin for RunWaitsError
impl UnwindSafe for RunWaitsError
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