#[non_exhaustive]pub struct RsvpLinkProtection {Show 13 fields
pub disable: bool,
pub admin_group: MplsAdminGroupConstraints,
pub bandwidth: Option<String>,
pub class_of_service: Option<String>,
pub hop_limit: Option<String>,
pub max_bypasses: Option<String>,
pub no_cspf: bool,
pub no_node_protection: bool,
pub optimize_timer: Option<String>,
pub path: Vec<String>,
pub priority: Option<String>,
pub subscription: Option<String>,
pub bypasses: Vec<RsvpBypass>,
}Expand description
The link-protection block of an RSVP interface. A bare link-protection; leaves every option unset.
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.disable: bool§admin_group: MplsAdminGroupConstraints§bandwidth: Option<String>Bits per second, as written.
class_of_service: Option<String>§hop_limit: Option<String>§max_bypasses: Option<String>§no_cspf: bool§no_node_protection: bool§optimize_timer: Option<String>Seconds.
path: Vec<String>Each path <address> [strict | loose], as written.
priority: Option<String><setup> <reservation>, as written.
subscription: Option<String>§bypasses: Vec<RsvpBypass>Trait Implementations§
Source§impl Clone for RsvpLinkProtection
impl Clone for RsvpLinkProtection
Source§impl Debug for RsvpLinkProtection
impl Debug for RsvpLinkProtection
Source§impl Default for RsvpLinkProtection
impl Default for RsvpLinkProtection
impl Eq for RsvpLinkProtection
Source§impl PartialEq for RsvpLinkProtection
impl PartialEq for RsvpLinkProtection
impl StructuralPartialEq for RsvpLinkProtection
Auto Trait Implementations§
impl Forget for RsvpLinkProtection
impl Freeze for RsvpLinkProtectionwhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<RsvpBypass>: Freeze,
impl Move for RsvpLinkProtection
impl RefUnwindSafe for RsvpLinkProtection
impl Send for RsvpLinkProtectionwhere
RawVecInner: Send,
impl Sync for RsvpLinkProtectionwhere
RawVecInner: Sync,
impl Unpin for RsvpLinkProtection
impl UnsafeUnpin for RsvpLinkProtectionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<RsvpBypass>: UnsafeUnpin,
impl UnwindSafe for RsvpLinkProtectionwhere
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