pub struct IoPriority {
pub class: String,
pub priority: i32,
}Expand description
I/O priority configuration.
Fields§
§class: StringI/O scheduling class.
priority: i32Priority within class.
Trait Implementations§
Source§impl Clone for IoPriority
impl Clone for IoPriority
Source§fn clone(&self) -> IoPriority
fn clone(&self) -> IoPriority
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 moreSource§impl Debug for IoPriority
impl Debug for IoPriority
Source§impl<'de> Deserialize<'de> for IoPriority
impl<'de> Deserialize<'de> for IoPriority
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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