pub struct BlockIoBuilder { /* private fields */ }
Expand description
Builder for BlockIo
.
Implementations§
Source§impl BlockIoBuilder
impl BlockIoBuilder
pub fn leaf_weight<VALUE: Into<Option<i64>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn throttle_read_bps_device<VALUE: Into<Option<Vec<BlockIoDeviceThrottle>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn throttle_read_iops_device<VALUE: Into<Option<Vec<BlockIoDeviceThrottle>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn throttle_write_bps_device<VALUE: Into<Option<Vec<BlockIoDeviceThrottle>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn throttle_write_iops_device<VALUE: Into<Option<Vec<BlockIoDeviceThrottle>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn weight<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn weight_device<VALUE: Into<Option<Vec<BlockIoDeviceWeight>>>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for BlockIoBuilder
impl Clone for BlockIoBuilder
Source§fn clone(&self) -> BlockIoBuilder
fn clone(&self) -> BlockIoBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for BlockIoBuilder
impl Default for BlockIoBuilder
Source§fn default() -> BlockIoBuilder
fn default() -> BlockIoBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BlockIoBuilder
impl RefUnwindSafe for BlockIoBuilder
impl Send for BlockIoBuilder
impl Sync for BlockIoBuilder
impl Unpin for BlockIoBuilder
impl UnwindSafe for BlockIoBuilder
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