#[non_exhaustive]pub struct TrafficControlProfile {Show 16 fields
pub name: String,
pub shaping_rate: Option<SchedulerRate>,
pub guaranteed_rate: Option<SchedulerRate>,
pub delay_buffer_rate: Option<SchedulerRate>,
pub excess_rate: Option<SchedulerRate>,
pub priority_rates: Vec<ProfileRate>,
pub scheduler_map: Option<String>,
pub overhead_accounting: Option<OverheadAccounting>,
pub adjust_minimum: Option<String>,
pub atm_service: Option<String>,
pub max_burst_size: Option<String>,
pub peak_rate: Option<String>,
pub sustained_rate: Option<String>,
pub granularity_mode_low: bool,
pub queue_mode_4q: bool,
pub strict_priority_scheduler: bool,
}Expand description
A traffic-control-profiles entry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§shaping_rate: Option<SchedulerRate>§guaranteed_rate: Option<SchedulerRate>§delay_buffer_rate: Option<SchedulerRate>§excess_rate: Option<SchedulerRate>§priority_rates: Vec<ProfileRate>The shaping-rate-excess-*, shaping-rate-priority-* and excess-rate-* statements, in the order written.
scheduler_map: Option<String>§overhead_accounting: Option<OverheadAccounting>§adjust_minimum: Option<String>§atm_service: Option<String>§max_burst_size: Option<String>§peak_rate: Option<String>§sustained_rate: Option<String>§granularity_mode_low: bool§queue_mode_4q: bool§strict_priority_scheduler: boolTrait Implementations§
Source§impl Clone for TrafficControlProfile
impl Clone for TrafficControlProfile
Source§impl Debug for TrafficControlProfile
impl Debug for TrafficControlProfile
impl Eq for TrafficControlProfile
Source§impl PartialEq for TrafficControlProfile
impl PartialEq for TrafficControlProfile
impl StructuralPartialEq for TrafficControlProfile
Auto Trait Implementations§
impl Forget for TrafficControlProfile
impl Freeze for TrafficControlProfile
impl Move for TrafficControlProfile
impl RefUnwindSafe for TrafficControlProfile
impl Send for TrafficControlProfilewhere
RawVecInner: Send,
impl Sync for TrafficControlProfilewhere
RawVecInner: Sync,
impl Unpin for TrafficControlProfile
impl UnsafeUnpin for TrafficControlProfilewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ProfileRate>: UnsafeUnpin,
impl UnwindSafe for TrafficControlProfilewhere
RawVecInner: UnwindSafe,
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