Struct oci_spec::runtime::LinuxIOPriorityBuilder
source · 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