pub struct BlkioConfig { /* private fields */ }Expand description
Authored service block-I/O configuration without controller or runtime interpretation.
Implementations§
Source§impl BlkioConfig
impl BlkioConfig
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete mapping span.
Sourcepub const fn weight(&self) -> Option<&Located<BlkioScalar>>
pub const fn weight(&self) -> Option<&Located<BlkioScalar>>
Returns the optional raw overall weight.
Sourcepub fn device_read_bps(&self) -> &[BlkioDeviceRate]
pub fn device_read_bps(&self) -> &[BlkioDeviceRate]
Returns ordered read-byte-rate items.
Sourcepub fn device_read_iops(&self) -> &[BlkioDeviceRate]
pub fn device_read_iops(&self) -> &[BlkioDeviceRate]
Returns ordered read-I/O-rate items.
Sourcepub fn device_write_bps(&self) -> &[BlkioDeviceRate]
pub fn device_write_bps(&self) -> &[BlkioDeviceRate]
Returns ordered write-byte-rate items.
Sourcepub fn device_write_iops(&self) -> &[BlkioDeviceRate]
pub fn device_write_iops(&self) -> &[BlkioDeviceRate]
Returns ordered write-I/O-rate items.
Sourcepub fn weight_device(&self) -> &[BlkioWeightDevice]
pub fn weight_device(&self) -> &[BlkioWeightDevice]
Returns ordered device-weight items.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained extensions.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns retained unknown or malformed members.
Trait Implementations§
Source§impl Clone for BlkioConfig
impl Clone for BlkioConfig
Source§fn clone(&self) -> BlkioConfig
fn clone(&self) -> BlkioConfig
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 BlkioConfig
impl Debug for BlkioConfig
impl Eq for BlkioConfig
Source§impl PartialEq for BlkioConfig
impl PartialEq for BlkioConfig
impl StructuralPartialEq for BlkioConfig
Auto Trait Implementations§
impl Freeze for BlkioConfig
impl RefUnwindSafe for BlkioConfig
impl Send for BlkioConfig
impl Sync for BlkioConfig
impl Unpin for BlkioConfig
impl UnsafeUnpin for BlkioConfig
impl UnwindSafe for BlkioConfig
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