#[non_exhaustive]pub struct AutonomousSystemOptions {
pub loops: Option<String>,
pub asdot_notation: bool,
pub independent_domain: bool,
pub no_attrset: bool,
}Expand description
The options of the autonomous-system statement. The AS number itself is
RoutingOptions::autonomous_system.
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.loops: Option<String>How many times the local AS may appear in a received AS path.
asdot_notation: boolDisplays 4-byte AS numbers as high.low.
independent_domain: bool§no_attrset: boolThe no-attrset option of independent-domain.
Trait Implementations§
Source§impl Clone for AutonomousSystemOptions
impl Clone for AutonomousSystemOptions
Source§impl Debug for AutonomousSystemOptions
impl Debug for AutonomousSystemOptions
impl Eq for AutonomousSystemOptions
Source§impl PartialEq for AutonomousSystemOptions
impl PartialEq for AutonomousSystemOptions
impl StructuralPartialEq for AutonomousSystemOptions
Auto Trait Implementations§
impl Forget for AutonomousSystemOptions
impl Freeze for AutonomousSystemOptions
impl Move for AutonomousSystemOptions
impl RefUnwindSafe for AutonomousSystemOptions
impl Send for AutonomousSystemOptionswhere
RawVecInner: Send,
impl Sync for AutonomousSystemOptionswhere
RawVecInner: Sync,
impl Unpin for AutonomousSystemOptions
impl UnsafeUnpin for AutonomousSystemOptions
impl UnwindSafe for AutonomousSystemOptionswhere
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