pub enum InvalidIoMap {
IoMapBeforeTss,
TooFarFromTss {
distance: usize,
},
InvalidTerminatingByte {
byte: u8,
},
TooLong {
len: usize,
},
InvalidBase {
expected: u16,
got: u16,
},
}Expand description
The given IO permissions bitmap is invalid.
Variants§
IoMapBeforeTss
The IO permissions bitmap is before the TSS. It must be located after the TSS.
TooFarFromTss
The IO permissions bitmap is too far from the TSS. It must be within 0xdfff bytes of the
start of the TSS. Note that if the IO permissions bitmap is located before the TSS, then
IoMapBeforeTss will be returned instead.
InvalidTerminatingByte
The final byte of the IO permissions bitmap was not 0xff
TooLong
The IO permissions bitmap exceeds the maximum length (8193).
InvalidBase
The iomap_base in the TaskStateSegment struct was not what was expected.
Trait Implementations§
Source§impl Clone for InvalidIoMap
impl Clone for InvalidIoMap
Source§fn clone(&self) -> InvalidIoMap
fn clone(&self) -> InvalidIoMap
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvalidIoMap
impl Debug for InvalidIoMap
Source§impl Display for InvalidIoMap
impl Display for InvalidIoMap
Source§impl PartialEq for InvalidIoMap
impl PartialEq for InvalidIoMap
impl Copy for InvalidIoMap
impl Eq for InvalidIoMap
impl StructuralPartialEq for InvalidIoMap
Auto Trait Implementations§
impl Freeze for InvalidIoMap
impl RefUnwindSafe for InvalidIoMap
impl Send for InvalidIoMap
impl Sync for InvalidIoMap
impl Unpin for InvalidIoMap
impl UnwindSafe for InvalidIoMap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more