#[repr(C)]pub struct TrapInfo {
pub vector: u8,
pub flags: u8,
pub cs: u16,
pub address: *const (),
}Expand description
Information for trap handler
Fields
vector: u8Exception vector
flags: u80-3 privilege level, 4 clear event enable
cs: u16Code selector
address: *const ()Handler function pointer
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TrapInfo
impl !Send for TrapInfo
impl Unpin for TrapInfo
impl UnwindSafe for TrapInfo
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more