#[non_exhaustive]pub struct Lacp {
pub mode: Option<String>,
pub periodic: Option<String>,
pub system_priority: Option<String>,
pub system_id: Option<String>,
pub admin_key: Option<String>,
pub force_up: bool,
pub fast_failover: bool,
pub accept_data: bool,
}Expand description
The lacp settings of an aggregated Ethernet bundle.
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.mode: Option<String>active or passive; LACP is passive when neither is written.
periodic: Option<String>fast or slow.
system_priority: Option<String>§system_id: Option<String>§admin_key: Option<String>§force_up: bool§fast_failover: bool§accept_data: boolTrait Implementations§
impl Eq for Lacp
impl StructuralPartialEq for Lacp
Auto Trait Implementations§
impl Forget for Lacp
impl Freeze for Lacp
impl Move for Lacp
impl RefUnwindSafe for Lacp
impl Send for Lacpwhere
RawVecInner: Send,
impl Sync for Lacpwhere
RawVecInner: Sync,
impl Unpin for Lacp
impl UnsafeUnpin for Lacp
impl UnwindSafe for Lacpwhere
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