#[non_exhaustive]pub enum RuntimeInvariantError {
UninitializedClock,
UninitializedTelemetry,
}Expand description
Runtime invariants that were violated (programmer errors).
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.
UninitializedClock
step was called before init installed a clock.
UninitializedTelemetry
step was called before init installed telemetry.
Trait Implementations§
Source§impl Clone for RuntimeInvariantError
impl Clone for RuntimeInvariantError
Source§fn clone(&self) -> RuntimeInvariantError
fn clone(&self) -> RuntimeInvariantError
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 RuntimeInvariantError
impl Debug for RuntimeInvariantError
Source§impl Display for RuntimeInvariantError
impl Display for RuntimeInvariantError
Source§impl From<RuntimeInvariantError> for RuntimeError
impl From<RuntimeInvariantError> for RuntimeError
Source§fn from(e: RuntimeInvariantError) -> Self
fn from(e: RuntimeInvariantError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RuntimeInvariantError
impl PartialEq for RuntimeInvariantError
impl Copy for RuntimeInvariantError
impl Eq for RuntimeInvariantError
impl StructuralPartialEq for RuntimeInvariantError
Auto Trait Implementations§
impl Freeze for RuntimeInvariantError
impl RefUnwindSafe for RuntimeInvariantError
impl Send for RuntimeInvariantError
impl Sync for RuntimeInvariantError
impl Unpin for RuntimeInvariantError
impl UnsafeUnpin for RuntimeInvariantError
impl UnwindSafe for RuntimeInvariantError
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