#[non_exhaustive]pub struct CosInterface {
pub name: String,
pub settings: CosSettings,
pub forwarding_class_sets: Vec<CosBinding>,
pub slices: Vec<CosBinding>,
pub units: Vec<CosUnit>,
}Expand description
An interface of class-of-service interfaces.
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§settings: CosSettings§forwarding_class_sets: Vec<CosBinding>§slices: Vec<CosBinding>§units: Vec<CosUnit>Trait Implementations§
Source§impl Clone for CosInterface
impl Clone for CosInterface
Source§impl Debug for CosInterface
impl Debug for CosInterface
impl Eq for CosInterface
Source§impl PartialEq for CosInterface
impl PartialEq for CosInterface
impl StructuralPartialEq for CosInterface
Auto Trait Implementations§
impl Forget for CosInterface
impl Freeze for CosInterfacewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<AppliedMapping>: Freeze,
PhantomData<CosBinding>: Freeze,
PhantomData<CosUnit>: Freeze,
impl Move for CosInterface
impl RefUnwindSafe for CosInterface
impl Send for CosInterfacewhere
RawVecInner: Send,
impl Sync for CosInterfacewhere
RawVecInner: Sync,
impl Unpin for CosInterface
impl UnsafeUnpin for CosInterfacewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<AppliedMapping>: UnsafeUnpin,
PhantomData<CosBinding>: UnsafeUnpin,
PhantomData<CosUnit>: UnsafeUnpin,
impl UnwindSafe for CosInterfacewhere
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