pub struct ExceptionInfo {
pub vector: u8,
pub error_code: u64,
pub cr2: usize,
}Available on crate feature
uspace only.Expand description
Information about an exception that occurred in user space.
Fields§
§vector: u8The exception vector.
error_code: u64The error code.
cr2: usizeThe faulting virtual address (if applicable).
Implementations§
Source§impl ExceptionInfo
impl ExceptionInfo
Sourcepub fn kind(&self) -> ExceptionKind
pub fn kind(&self) -> ExceptionKind
Returns a generalized kind of this exception.
Trait Implementations§
Source§impl Clone for ExceptionInfo
impl Clone for ExceptionInfo
Source§fn clone(&self) -> ExceptionInfo
fn clone(&self) -> ExceptionInfo
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 ExceptionInfo
impl Debug for ExceptionInfo
impl Copy for ExceptionInfo
Auto Trait Implementations§
impl Freeze for ExceptionInfo
impl RefUnwindSafe for ExceptionInfo
impl Send for ExceptionInfo
impl Sync for ExceptionInfo
impl Unpin for ExceptionInfo
impl UnsafeUnpin for ExceptionInfo
impl UnwindSafe for ExceptionInfo
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