Struct runkins_proto::runkins::BlockDeviceLimit [−][src]
pub struct BlockDeviceLimit {
pub io_max_rbps: Option<u64>,
pub io_max_riops: Option<u64>,
pub io_max_wbps: Option<u64>,
pub io_max_wiops: Option<u64>,
}
Fields
io_max_rbps: Option<u64>
Block device limits. BPS and IOPS based IO limit. See “io.max”.
Throttle the bytes per second rate of read operation affecting the block device
io_max_riops: Option<u64>
Throttle the I/O operations per second rate of read operation affecting the block device
io_max_wbps: Option<u64>
Throttle the bytes per second rate of write operation affecting the block device
io_max_wiops: Option<u64>
Throttle the I/O operations per second rate of write operation affecting the block device
Implementations
Returns the value of io_max_rbps
, or the default value if io_max_rbps
is unset.
Returns the value of io_max_riops
, or the default value if io_max_riops
is unset.
Returns the value of io_max_wbps
, or the default value if io_max_wbps
is unset.
Returns the value of io_max_wiops
, or the default value if io_max_wiops
is unset.
Trait Implementations
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BlockDeviceLimit
impl Send for BlockDeviceLimit
impl Sync for BlockDeviceLimit
impl Unpin for BlockDeviceLimit
impl UnwindSafe for BlockDeviceLimit
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more