pub struct LinuxIOPriorityBuilder { /* private fields */ }Expand description
Builder for LinuxIOPriority.
Implementations§
Source§impl LinuxIOPriorityBuilder
 
impl LinuxIOPriorityBuilder
Sourcepub fn class<VALUE: Into<IOPriorityClass>>(self, value: VALUE) -> Self
 
pub fn class<VALUE: Into<IOPriorityClass>>(self, value: VALUE) -> Self
Class represents an I/O scheduling class.
Sourcepub fn build(self) -> Result<LinuxIOPriority, OciSpecError>
 
pub fn build(self) -> Result<LinuxIOPriority, OciSpecError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LinuxIOPriorityBuilder
impl RefUnwindSafe for LinuxIOPriorityBuilder
impl Send for LinuxIOPriorityBuilder
impl Sync for LinuxIOPriorityBuilder
impl Unpin for LinuxIOPriorityBuilder
impl UnwindSafe for LinuxIOPriorityBuilder
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