pub struct IoLimit {
pub read_bps: Option<u64>,
pub write_bps: Option<u64>,
}Expand description
I/O bandwidth limit in bytes per second
Fields§
§read_bps: Option<u64>Read bandwidth limit (bytes/sec)
write_bps: Option<u64>Write bandwidth limit (bytes/sec)
Implementations§
Trait Implementations§
impl Copy for IoLimit
Source§impl<'de> Deserialize<'de> for IoLimit
impl<'de> Deserialize<'de> for IoLimit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IoLimit
impl RefUnwindSafe for IoLimit
impl Send for IoLimit
impl Sync for IoLimit
impl Unpin for IoLimit
impl UnsafeUnpin for IoLimit
impl UnwindSafe for IoLimit
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