pub enum TransmitHashPolicy {
Layer2,
Layer3Plus4,
Layer2Plus3,
Encap2Plus3,
Encap3Plus4,
}
Expand description
Specifies the transmit hash policy for the selection of slaves. This is only useful in balance-xor, 802.3ad and balance-tlb modes. Possible values are layer2, layer3+4, layer2+3, encap2+3, and encap3+4.
Variants§
Trait Implementations§
Source§impl Clone for TransmitHashPolicy
impl Clone for TransmitHashPolicy
Source§fn clone(&self) -> TransmitHashPolicy
fn clone(&self) -> TransmitHashPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TransmitHashPolicy
impl Debug for TransmitHashPolicy
Source§impl<'de> Deserialize<'de> for TransmitHashPolicy
impl<'de> Deserialize<'de> for TransmitHashPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TransmitHashPolicy
impl PartialEq for TransmitHashPolicy
Source§impl Serialize for TransmitHashPolicy
impl Serialize for TransmitHashPolicy
impl Eq for TransmitHashPolicy
impl StructuralPartialEq for TransmitHashPolicy
Auto Trait Implementations§
impl Freeze for TransmitHashPolicy
impl RefUnwindSafe for TransmitHashPolicy
impl Send for TransmitHashPolicy
impl Sync for TransmitHashPolicy
impl Unpin for TransmitHashPolicy
impl UnwindSafe for TransmitHashPolicy
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