pub struct BandwidthAllocation {
pub critical_reserved_bps: u64,
pub high_min_bps: u64,
pub normal_min_bps: u64,
pub low_min_bps: u64,
pub total_available_bps: u64,
}Expand description
Bandwidth allocation configuration
Fields§
§critical_reserved_bps: u64Reserved bandwidth for CRITICAL events (bytes/second)
high_min_bps: u64Minimum bandwidth for HIGH priority (bytes/second)
normal_min_bps: u64Minimum bandwidth for NORMAL priority (bytes/second)
low_min_bps: u64Minimum bandwidth for LOW priority (bytes/second)
total_available_bps: u64Total available bandwidth (bytes/second)
Implementations§
Trait Implementations§
Source§impl Clone for BandwidthAllocation
impl Clone for BandwidthAllocation
Source§fn clone(&self) -> BandwidthAllocation
fn clone(&self) -> BandwidthAllocation
Returns a duplicate of the value. Read more
1.0.0 · 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 BandwidthAllocation
impl Debug for BandwidthAllocation
Source§impl Default for BandwidthAllocation
impl Default for BandwidthAllocation
impl Copy for BandwidthAllocation
Auto Trait Implementations§
impl Freeze for BandwidthAllocation
impl RefUnwindSafe for BandwidthAllocation
impl Send for BandwidthAllocation
impl Sync for BandwidthAllocation
impl Unpin for BandwidthAllocation
impl UnsafeUnpin for BandwidthAllocation
impl UnwindSafe for BandwidthAllocation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more