pub enum ExceptionKind {
Breakpoint,
IllegalInstruction,
Misaligned,
Other,
}Available on crate feature
uspace only.Expand description
A generalized kind for ExceptionInfo.
Variants§
Breakpoint
A breakpoint exception.
IllegalInstruction
An illegal instruction exception.
Misaligned
A misaligned access exception.
Other
Other kinds of exceptions.
Trait Implementations§
Source§impl Clone for ExceptionKind
impl Clone for ExceptionKind
Source§fn clone(&self) -> ExceptionKind
fn clone(&self) -> ExceptionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExceptionKind
impl Debug for ExceptionKind
Source§impl PartialEq for ExceptionKind
impl PartialEq for ExceptionKind
Source§fn eq(&self, other: &ExceptionKind) -> bool
fn eq(&self, other: &ExceptionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ExceptionKind
impl Eq for ExceptionKind
impl StructuralPartialEq for ExceptionKind
Auto Trait Implementations§
impl Freeze for ExceptionKind
impl RefUnwindSafe for ExceptionKind
impl Send for ExceptionKind
impl Sync for ExceptionKind
impl Unpin for ExceptionKind
impl UnsafeUnpin for ExceptionKind
impl UnwindSafe for ExceptionKind
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