pub enum DlRateTcBws {
Index(u8),
Bw(u32),
}Available on crate feature
devlink only.Variants§
Index(u8)
Bw(u32)
Specifies the bandwidth share assigned to the Traffic Class. The bandwidth for the traffic class is determined in proportion to the sum of the shares of all configured classes.
Implementations§
Source§impl DlRateTcBws
impl DlRateTcBws
pub fn new<'a>(buf: &'a [u8]) -> IterableDlRateTcBws<'a> ⓘ
Trait Implementations§
Source§impl Clone for DlRateTcBws
impl Clone for DlRateTcBws
Source§fn clone(&self) -> DlRateTcBws
fn clone(&self) -> DlRateTcBws
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DlRateTcBws
impl RefUnwindSafe for DlRateTcBws
impl Send for DlRateTcBws
impl Sync for DlRateTcBws
impl Unpin for DlRateTcBws
impl UnsafeUnpin for DlRateTcBws
impl UnwindSafe for DlRateTcBws
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