pub enum InterruptReason {
EndReached,
Overload,
Error,
}Expand description
Reasons why an interrupt was triggered
Variants§
EndReached
A virtual end or a switch has been reached
Overload
The component has been overloaded
Error
Another error has occured
Trait Implementations§
Source§impl Clone for InterruptReason
impl Clone for InterruptReason
Source§fn clone(&self) -> InterruptReason
fn clone(&self) -> InterruptReason
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 InterruptReason
impl Debug for InterruptReason
Source§impl Ord for InterruptReason
impl Ord for InterruptReason
Source§fn cmp(&self, other: &InterruptReason) -> Ordering
fn cmp(&self, other: &InterruptReason) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InterruptReason
impl PartialEq for InterruptReason
Source§impl PartialOrd for InterruptReason
impl PartialOrd for InterruptReason
impl Copy for InterruptReason
impl Eq for InterruptReason
impl StructuralPartialEq for InterruptReason
Auto Trait Implementations§
impl Freeze for InterruptReason
impl RefUnwindSafe for InterruptReason
impl Send for InterruptReason
impl Sync for InterruptReason
impl Unpin for InterruptReason
impl UnwindSafe for InterruptReason
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