#[non_exhaustive]pub struct RpfCheck {
pub fail_filter: Option<String>,
pub mode: Option<String>,
}Expand description
The rpf-check unicast reverse-path-forwarding settings; both fields are None for a bare
rpf-check;.
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.fail_filter: Option<String>§mode: Option<String>strict or loose.
Trait Implementations§
impl Eq for RpfCheck
impl StructuralPartialEq for RpfCheck
Auto Trait Implementations§
impl Forget for RpfCheck
impl Freeze for RpfCheck
impl Move for RpfCheck
impl RefUnwindSafe for RpfCheck
impl Send for RpfCheck
impl Sync for RpfCheck
impl Unpin for RpfCheck
impl UnsafeUnpin for RpfCheck
impl UnwindSafe for RpfCheck
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