#[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: u8

Exception vector

flags: u8

0-3 privilege level, 4 clear event enable

cs: u16

Code selector

address: *const ()

Handler function pointer

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.