#[non_exhaustive]pub struct LoadBalance {
pub adaptive: bool,
pub adaptive_pps: bool,
pub adaptive_scan_interval: Option<String>,
pub adaptive_tolerance: Option<String>,
pub no_adaptive: bool,
pub per_packet: bool,
pub local_bias_percent: Option<String>,
}Expand description
The load-balance block of an aggregated 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.adaptive: booladaptive { ... } is configured.
adaptive_pps: booladaptive { pps; }.
adaptive_scan_interval: Option<String>§adaptive_tolerance: Option<String>§no_adaptive: bool§per_packet: bool§local_bias_percent: Option<String>Percentage, from local-bias percent.
Trait Implementations§
Source§impl Clone for LoadBalance
impl Clone for LoadBalance
Source§impl Debug for LoadBalance
impl Debug for LoadBalance
impl Eq for LoadBalance
Source§impl PartialEq for LoadBalance
impl PartialEq for LoadBalance
impl StructuralPartialEq for LoadBalance
Auto Trait Implementations§
impl Forget for LoadBalance
impl Freeze for LoadBalance
impl Move for LoadBalance
impl RefUnwindSafe for LoadBalance
impl Send for LoadBalancewhere
RawVecInner: Send,
impl Sync for LoadBalancewhere
RawVecInner: Sync,
impl Unpin for LoadBalance
impl UnsafeUnpin for LoadBalance
impl UnwindSafe for LoadBalancewhere
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