#[non_exhaustive]pub struct LinkDegradeMonitor {
pub thresholds: Option<LinkDegradeThresholds>,
pub recovery_mode: Option<String>,
pub recovery_timer: Option<String>,
}Expand description
The link-degrade-monitor settings of an interface.
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.thresholds: Option<LinkDegradeThresholds>§recovery_mode: Option<String>auto or manual, from recovery.
recovery_timer: Option<String>Seconds, from recovery { timer ...; }.
Trait Implementations§
Source§impl Clone for LinkDegradeMonitor
impl Clone for LinkDegradeMonitor
Source§impl Debug for LinkDegradeMonitor
impl Debug for LinkDegradeMonitor
impl Eq for LinkDegradeMonitor
Source§impl PartialEq for LinkDegradeMonitor
impl PartialEq for LinkDegradeMonitor
impl StructuralPartialEq for LinkDegradeMonitor
Auto Trait Implementations§
impl Forget for LinkDegradeMonitor
impl Freeze for LinkDegradeMonitor
impl Move for LinkDegradeMonitor
impl RefUnwindSafe for LinkDegradeMonitor
impl Send for LinkDegradeMonitor
impl Sync for LinkDegradeMonitor
impl Unpin for LinkDegradeMonitor
impl UnsafeUnpin for LinkDegradeMonitor
impl UnwindSafe for LinkDegradeMonitor
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