#[repr(C)]
pub struct Entry<F> { /* fields omitted */ }
An Interrupt Descriptor Table entry.
The generic parameter can either be HandlerFunc
or HandlerFuncWithErrCode
, depending
on the interrupt vector.
Creates a non-present IDT entry (but sets the must-be-one bits).
Set the handler function for the IDT entry and sets the present bit.
For the code selector field, this function uses the code segment selector currently
active in the CPU.
The function returns a mutable reference to the entry's options that allows
further customization.
Set the handler function for the IDT entry and sets the present bit.
For the code selector field, this function uses the code segment selector currently
active in the CPU.
The function returns a mutable reference to the entry's options that allows
further customization.
Set the handler function for the IDT entry and sets the present bit.
For the code selector field, this function uses the code segment selector currently
active in the CPU.
The function returns a mutable reference to the entry's options that allows
further customization.
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