#[non_exhaustive]pub struct Resolution {
pub ribs: Vec<ResolutionRib>,
pub allow_expanded_over_compressed: Option<bool>,
pub prefer_recursive_primary_path: Option<bool>,
pub preserve_nexthop_hierarchy: Option<bool>,
pub disable_auto_resolve_on_scheme_changes: bool,
pub no_policy_metric_for_non_recursive_routes: bool,
}Expand description
The resolution settings. scheme, tracefilter and traceoptions are not extracted.
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.ribs: Vec<ResolutionRib>§allow_expanded_over_compressed: Option<bool>Some(true) for allow-expanded-over-compressed, Some(false) for the no- form.
prefer_recursive_primary_path: Option<bool>§preserve_nexthop_hierarchy: Option<bool>§disable_auto_resolve_on_scheme_changes: bool§no_policy_metric_for_non_recursive_routes: boolTrait Implementations§
Source§impl Clone for Resolution
impl Clone for Resolution
Source§impl Debug for Resolution
impl Debug for Resolution
impl Eq for Resolution
Source§impl PartialEq for Resolution
impl PartialEq for Resolution
impl StructuralPartialEq for Resolution
Auto Trait Implementations§
impl Forget for Resolution
impl Freeze for Resolution
impl Move for Resolution
impl RefUnwindSafe for Resolution
impl Send for Resolutionwhere
RawVecInner: Send,
impl Sync for Resolutionwhere
RawVecInner: Sync,
impl Unpin for Resolution
impl UnsafeUnpin for Resolution
impl UnwindSafe for Resolutionwhere
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