#[non_exhaustive]pub struct SourceRoutingPath {Show 13 fields
pub name: String,
pub srv6: bool,
pub to: Option<String>,
pub from: Option<String>,
pub color: Option<String>,
pub binding_sid: Option<String>,
pub metric: Option<String>,
pub no_ingress: bool,
pub sr_preference: Option<String>,
pub te_group_id: Option<String>,
pub lsp_external_controller: Option<String>,
pub primary: Vec<PathSegmentList>,
pub secondary: Vec<PathSegmentList>,
}Expand description
A source-routing-path <name>, a static SR-TE policy. The compute blocks of the segment lists are read as their
profile name only.
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§srv6: boolThe tunnel type is SRv6.
to: Option<String>The tunnel endpoint.
from: Option<String>The tunnel source address. It is not in the statement’s syntax, but the SRv6-TE example sets it.
color: Option<String>§binding_sid: Option<String>§metric: Option<String>§no_ingress: bool§sr_preference: Option<String>§te_group_id: Option<String>§lsp_external_controller: Option<String>§primary: Vec<PathSegmentList>§secondary: Vec<PathSegmentList>Trait Implementations§
Source§impl Clone for SourceRoutingPath
impl Clone for SourceRoutingPath
Source§impl Debug for SourceRoutingPath
impl Debug for SourceRoutingPath
impl Eq for SourceRoutingPath
Source§impl PartialEq for SourceRoutingPath
impl PartialEq for SourceRoutingPath
impl StructuralPartialEq for SourceRoutingPath
Auto Trait Implementations§
impl Forget for SourceRoutingPath
impl Freeze for SourceRoutingPath
impl Move for SourceRoutingPath
impl RefUnwindSafe for SourceRoutingPath
impl Send for SourceRoutingPathwhere
RawVecInner: Send,
impl Sync for SourceRoutingPathwhere
RawVecInner: Sync,
impl Unpin for SourceRoutingPath
impl UnsafeUnpin for SourceRoutingPathwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PathSegmentList>: UnsafeUnpin,
impl UnwindSafe for SourceRoutingPathwhere
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