pub struct NetLimit {
pub memory: i64,
pub streams: i32,
pub streams_inbound: i32,
pub streams_outbound: i32,
pub conns: i32,
pub conns_inbound: i32,
pub conns_outbound: i32,
pub fd: i32,
}Fields§
§memory: i64§streams: i32§streams_inbound: i32§streams_outbound: i32§conns: i32§conns_inbound: i32§conns_outbound: i32§fd: i32Trait Implementations§
Source§impl<'de> Deserialize<'de> for NetLimit
impl<'de> Deserialize<'de> for NetLimit
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 NetLimit
impl RefUnwindSafe for NetLimit
impl Send for NetLimit
impl Sync for NetLimit
impl Unpin for NetLimit
impl UnwindSafe for NetLimit
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