pub struct SystemDescriptorType(/* private fields */);Expand description
Discriminate types of segment descriptors that are not code or data.
Implementations§
Source§impl SystemDescriptorType
 
impl SystemDescriptorType
Sourcepub const TaskStateAvailable16Bit: Self
 Available on x86 only.
pub const TaskStateAvailable16Bit: Self
A SegmentDescriptor for a 16-bit task state segment (TSS) that is not
currently running or waiting on a call to another task.
Sourcepub const LocalDescriptorTable: Self
 
pub const LocalDescriptorTable: Self
A SegmentDescriptor for a segment that contains a local descriptor table.
Sourcepub const TaskStateBusy16Bit: Self
 Available on x86 only.
pub const TaskStateBusy16Bit: Self
A SegmentDescriptor for a 16-bit task state segment (TSS) that is either
running or waiting on a call to another task.
Sourcepub const CallGate16Bit: Self
 Available on x86 only.
pub const CallGate16Bit: Self
A GateDescriptor for a call to 16-bit code.
Sourcepub const TaskGate: Self
 Available on x86 only.
pub const TaskGate: Self
A GateDescriptor for task switching.
Sourcepub const InterruptGate16Bit: Self
 Available on x86 only.
pub const InterruptGate16Bit: Self
A GateDescriptor for a 16-bit interrupt handler.
Sourcepub const TrapGate16Bit: Self
 Available on x86 only.
pub const TrapGate16Bit: Self
A GateDescriptor for a 16-bit trap handler.
Sourcepub const TaskStateAvailable: Self
 
pub const TaskStateAvailable: Self
A SegmentDescriptor for a 32/64-bit task state segment (TSS) that is not
currently running or waiting on a call to another task.
Sourcepub const TaskStateBusy: Self
 
pub const TaskStateBusy: Self
A SegmentDescriptor for a 32/64-bit task state segment (TSS) that is
either running or waiting on a call to another task.
Sourcepub const CallGate: Self
 
pub const CallGate: Self
A GateDescriptor for a call to 32/64-bit code.
Sourcepub const InterruptGate: Self
 
pub const InterruptGate: Self
A GateDescriptor for a 32/64-bit interrupt handler.
Sourcepub const TrapGate: Self
 
pub const TrapGate: Self
A GateDescriptor for a 32/64-bit interrupt handler.
A trap gate works identically to an interrupt gate, except that the processor
does not automatically clear FlagRegister::interrupt_enabled when it
invokes the handler through a trap gate.
Source§impl SystemDescriptorType
 
impl SystemDescriptorType
Sourcepub fn is_gate(self) -> bool
 
pub fn is_gate(self) -> bool
Indicates that this is a GateDescriptor.
Trait Implementations§
Source§impl CEnum<u8> for SystemDescriptorType
 
impl CEnum<u8> for SystemDescriptorType
Source§impl Clone for SystemDescriptorType
 
impl Clone for SystemDescriptorType
Source§fn clone(&self) -> SystemDescriptorType
 
fn clone(&self) -> SystemDescriptorType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read more