Struct cyfs_bdt::LimitConfig
source · [−]pub struct LimitConfig {
pub max_connections_per_source: u16,
pub max_connections: u16,
pub max_cpu_usage: u8,
pub max_memory_usage: u8,
pub max_upstream_bandwidth: u32,
pub max_downstream_bandwidth: u32,
}Fields
max_connections_per_source: u16max_connections: u16max_cpu_usage: u8max_memory_usage: u8max_upstream_bandwidth: u32max_downstream_bandwidth: u32Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more