#[non_exhaustive]pub struct MaximumPaths {
pub path_limit: Option<String>,
pub log_interval: Option<String>,
pub log_only: bool,
pub threshold: Option<String>,
}Expand description
The limit on the number of routes in the routing table.
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.path_limit: Option<String>§log_interval: Option<String>Seconds between log messages.
log_only: boolLog a message instead of enforcing the limit.
threshold: Option<String>Percentage of the limit that triggers a warning.
Trait Implementations§
Source§impl Clone for MaximumPaths
impl Clone for MaximumPaths
Source§impl Debug for MaximumPaths
impl Debug for MaximumPaths
impl Eq for MaximumPaths
Source§impl PartialEq for MaximumPaths
impl PartialEq for MaximumPaths
impl StructuralPartialEq for MaximumPaths
Auto Trait Implementations§
impl Forget for MaximumPaths
impl Freeze for MaximumPaths
impl Move for MaximumPaths
impl RefUnwindSafe for MaximumPaths
impl Send for MaximumPathswhere
RawVecInner: Send,
impl Sync for MaximumPathswhere
RawVecInner: Sync,
impl Unpin for MaximumPaths
impl UnsafeUnpin for MaximumPaths
impl UnwindSafe for MaximumPathswhere
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