pub struct IoPriority {
pub class: IoClass,
pub level: u8,
}Expand description
An I/O priority: a class plus a 0..=7 level within that class.
Fields§
§class: IoClass§level: u8Implementations§
Trait Implementations§
Source§impl Clone for IoPriority
impl Clone for IoPriority
impl Copy for IoPriority
Source§impl Debug for IoPriority
impl Debug for IoPriority
Source§impl Default for IoPriority
impl Default for IoPriority
impl Eq for IoPriority
Source§impl PartialEq for IoPriority
impl PartialEq for IoPriority
impl StructuralPartialEq for IoPriority
Auto Trait Implementations§
impl Freeze for IoPriority
impl RefUnwindSafe for IoPriority
impl Send for IoPriority
impl Sync for IoPriority
impl Unpin for IoPriority
impl UnsafeUnpin for IoPriority
impl UnwindSafe for IoPriority
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more