#[non_exhaustive]pub struct NotificationInput {
pub kind: String,
pub code_points: Vec<String>,
pub pfc: bool,
pub pfc_mru: Option<String>,
pub xon: Option<String>,
}Expand description
A code-point entry of the input block of a congestion notification profile.
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.kind: Stringdscp or ieee-802.1.
code_points: Vec<String>§pfc: boolpfc is configured for the code points.
pfc_mru: Option<String>The mru of pfc.
xon: Option<String>Trait Implementations§
Source§impl Clone for NotificationInput
impl Clone for NotificationInput
Source§impl Debug for NotificationInput
impl Debug for NotificationInput
impl Eq for NotificationInput
Source§impl PartialEq for NotificationInput
impl PartialEq for NotificationInput
impl StructuralPartialEq for NotificationInput
Auto Trait Implementations§
impl Forget for NotificationInput
impl Freeze for NotificationInput
impl Move for NotificationInput
impl RefUnwindSafe for NotificationInput
impl Send for NotificationInputwhere
RawVecInner: Send,
impl Sync for NotificationInputwhere
RawVecInner: Sync,
impl Unpin for NotificationInput
impl UnsafeUnpin for NotificationInputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for NotificationInputwhere
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