#[non_exhaustive]pub struct RedundantEtherOptions {
pub flow_control: Option<bool>,
pub lacp: Option<Lacp>,
pub link_speed: Option<String>,
pub loopback: Option<bool>,
pub minimum_links: Option<String>,
pub redundancy_group: Option<String>,
pub source_address_filter: Vec<String>,
pub source_filtering: Option<bool>,
}Expand description
The redundant-ether-options of a redundant Ethernet 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.flow_control: Option<bool>Some(true) for flow-control, Some(false) for no-flow-control.
lacp: Option<Lacp>§link_speed: Option<String>§loopback: Option<bool>Some(true) for loopback, Some(false) for no-loopback.
minimum_links: Option<String>§redundancy_group: Option<String>§source_address_filter: Vec<String>The MAC addresses of source-address-filter.
source_filtering: Option<bool>Some(true) for source-filtering, Some(false) for no-source-filtering.
Trait Implementations§
Source§impl Clone for RedundantEtherOptions
impl Clone for RedundantEtherOptions
Source§impl Debug for RedundantEtherOptions
impl Debug for RedundantEtherOptions
impl Eq for RedundantEtherOptions
Source§impl PartialEq for RedundantEtherOptions
impl PartialEq for RedundantEtherOptions
impl StructuralPartialEq for RedundantEtherOptions
Auto Trait Implementations§
impl Forget for RedundantEtherOptions
impl Freeze for RedundantEtherOptions
impl Move for RedundantEtherOptions
impl RefUnwindSafe for RedundantEtherOptions
impl Send for RedundantEtherOptionswhere
RawVecInner: Send,
impl Sync for RedundantEtherOptionswhere
RawVecInner: Sync,
impl Unpin for RedundantEtherOptions
impl UnsafeUnpin for RedundantEtherOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for RedundantEtherOptionswhere
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