#[repr(transparent)]
pub struct EntryOptions(_);
Represents the options field of an IDT entry.
Set or reset the preset bit.
Let the CPU disable hardware interrupts when the handler is invoked. By default,
interrupts are disabled on handler invocation.
Set the required privilege level (DPL) for invoking the handler. The DPL can be 0, 1, 2,
or 3, the default is 0. If CPL < DPL, a general protection fault occurs.
This function panics for a DPL > 3.
Assigns a Interrupt Stack Table (IST) stack to this handler. The CPU will then always
switch to the specified stack before the handler is invoked. This allows kernels to
recover from corrupt stack pointers (e.g., on kernel stack overflow).
An IST stack is specified by an IST index between 0 and 6 (inclusive). Using the same
stack for multiple interrupts can be dangerous when nested interrupts are possible.
This function panics if the index is not in the range 0..7.
This function is unsafe because the caller must ensure that the passed stack index is
valid and not used by other interrupts. Otherwise, memory safety violations are possible.
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Performs copy-assignment from source
. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static