pub enum TrapType {
Drop = 0,
Exception = 1,
Control = 2,
}Available on crate feature
devlink only.Expand description
Enum - defines an integer enumeration, with values for each entry incrementing by 1, (e.g. 0, 1, 2, 3)
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TrapType
impl RefUnwindSafe for TrapType
impl Send for TrapType
impl Sync for TrapType
impl Unpin for TrapType
impl UnsafeUnpin for TrapType
impl UnwindSafe for TrapType
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