Enum InvalidIoMap
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§
§impl Clone for InvalidIoMap
impl Clone for InvalidIoMap
§fn clone(&self) -> InvalidIoMap
fn clone(&self) -> InvalidIoMap
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InvalidIoMap
§impl Debug for InvalidIoMap
impl Debug for InvalidIoMap
§impl Display for InvalidIoMap
impl Display for InvalidIoMap
impl Eq for InvalidIoMap
§impl PartialEq for InvalidIoMap
impl PartialEq 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 UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more