pub enum InteractionInterruption {
Rejected(InteractionRejection),
PairChanged {
previous: (u64, u64),
current: (u64, u64),
},
}Expand description
Why an unfinished hold was discarded on this tick.
Rejections interrupt only when there was an unfinished hold. A valid pair switch both interrupts the old hold and starts the new one using this tick’s time. Resetting a completed latch does not report an unfinished interruption.
Variants§
Rejected(InteractionRejection)
A required condition failed. AlreadyCompleted never interrupts a hold.
PairChanged
An eligible actor/target pair replaced the unfinished one.
Trait Implementations§
Source§impl Clone for InteractionInterruption
impl Clone for InteractionInterruption
Source§fn clone(&self) -> InteractionInterruption
fn clone(&self) -> InteractionInterruption
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 InteractionInterruption
impl Debug for InteractionInterruption
Source§impl PartialEq for InteractionInterruption
impl PartialEq for InteractionInterruption
impl Copy for InteractionInterruption
impl Eq for InteractionInterruption
impl StructuralPartialEq for InteractionInterruption
Auto Trait Implementations§
impl Freeze for InteractionInterruption
impl RefUnwindSafe for InteractionInterruption
impl Send for InteractionInterruption
impl Sync for InteractionInterruption
impl Unpin for InteractionInterruption
impl UnwindSafe for InteractionInterruption
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