#[non_exhaustive]pub struct ForwardingClass {
pub name: String,
pub queue: Option<String>,
pub priority: Option<String>,
pub no_loss: bool,
pub latency_ecn: bool,
pub pfc_priority: Option<String>,
pub restricted_queue: bool,
}Expand description
A forwarding class and the output queue it maps to.
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§queue: Option<String>The output queue number.
priority: Option<String>The fabric priority, high or low.
no_loss: bool§latency_ecn: bool§pfc_priority: Option<String>§restricted_queue: boolTrait Implementations§
Source§impl Clone for ForwardingClass
impl Clone for ForwardingClass
Source§impl Debug for ForwardingClass
impl Debug for ForwardingClass
impl Eq for ForwardingClass
Source§impl PartialEq for ForwardingClass
impl PartialEq for ForwardingClass
impl StructuralPartialEq for ForwardingClass
Auto Trait Implementations§
impl Forget for ForwardingClass
impl Freeze for ForwardingClass
impl Move for ForwardingClass
impl RefUnwindSafe for ForwardingClass
impl Send for ForwardingClasswhere
RawVecInner: Send,
impl Sync for ForwardingClasswhere
RawVecInner: Sync,
impl Unpin for ForwardingClass
impl UnsafeUnpin for ForwardingClass
impl UnwindSafe for ForwardingClasswhere
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