pub enum Caps {
Ifindex(u32),
Scope(u32),
SupportMetricBps(()),
SupportMetricPps(()),
SupportNesting(()),
SupportBwMin(()),
SupportBwMax(()),
SupportBurst(()),
SupportPriority(()),
SupportWeight(()),
}Available on crate feature
net-shaper only.Variants§
Ifindex(u32)
Interface index queried for shapers capabilities.
Scope(u32)
The scope to which the queried capabilities apply.
Associated type: Scope (enum)
SupportMetricBps(())
The device accepts 'bps' metric for bw-min, bw-max and burst.
SupportMetricPps(())
The device accepts 'pps' metric for bw-min, bw-max and burst.
SupportNesting(())
The device supports nesting shaper belonging to this scope below 'node' scoped shapers. Only 'queue' and 'node' scope can have flag 'support-nesting'.
SupportBwMin(())
The device supports a minimum guaranteed B/W.
SupportBwMax(())
The device supports maximum B/W shaping.
SupportBurst(())
The device supports a maximum burst size.
SupportPriority(())
The device supports priority scheduling.
SupportWeight(())
The device supports weighted round robin scheduling.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Caps
impl RefUnwindSafe for Caps
impl Send for Caps
impl Sync for Caps
impl Unpin for Caps
impl UnsafeUnpin for Caps
impl UnwindSafe for Caps
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