#[non_exhaustive]pub struct MplsPath {
pub name: String,
pub hops: Vec<MplsPathHop>,
}Expand description
A path <name>, the explicit hops that an LSP’s primary or secondary path follows. An empty path imposes no
routing limits.
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§hops: Vec<MplsPathHop>Trait Implementations§
impl Eq for MplsPath
impl StructuralPartialEq for MplsPath
Auto Trait Implementations§
impl Forget for MplsPath
impl Freeze for MplsPath
impl Move for MplsPath
impl RefUnwindSafe for MplsPath
impl Send for MplsPathwhere
RawVecInner: Send,
impl Sync for MplsPathwhere
RawVecInner: Sync,
impl Unpin for MplsPath
impl UnsafeUnpin for MplsPathwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<MplsPathHop>: UnsafeUnpin,
impl UnwindSafe for MplsPathwhere
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