pub enum EngineControlCausalityError {
AlreadyPaused {
first_paused_at: Option<u64>,
duplicate_paused_at: u64,
},
NotPaused {
attempted_resumed_at: u64,
},
ResumeBeforePause {
paused_at: u64,
resumed_at: u64,
},
}Expand description
Typed engine control replay causality failures.
Variants§
AlreadyPaused
Engine pause event was applied while already paused.
Fields
NotPaused
Engine resume event was applied while engine is not paused.
ResumeBeforePause
Engine resume timestamp violated pause->resume ordering.
Trait Implementations§
Source§impl Clone for EngineControlCausalityError
impl Clone for EngineControlCausalityError
Source§fn clone(&self) -> EngineControlCausalityError
fn clone(&self) -> EngineControlCausalityError
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 EngineControlCausalityError
impl Debug for EngineControlCausalityError
impl Eq for EngineControlCausalityError
impl StructuralPartialEq for EngineControlCausalityError
Auto Trait Implementations§
impl Freeze for EngineControlCausalityError
impl RefUnwindSafe for EngineControlCausalityError
impl Send for EngineControlCausalityError
impl Sync for EngineControlCausalityError
impl Unpin for EngineControlCausalityError
impl UnsafeUnpin for EngineControlCausalityError
impl UnwindSafe for EngineControlCausalityError
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