Enum netplan_types::TransmitHashPolicy
source · [−]pub enum TransmitHashPolicy {
Layer2,
Layer3Plus4,
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
Layer2
Layer3Plus4
Encap2Plus3
Encap3Plus4
Trait Implementations
sourceimpl Clone for TransmitHashPolicy
impl Clone for TransmitHashPolicy
sourcefn clone(&self) -> TransmitHashPolicy
fn clone(&self) -> TransmitHashPolicy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TransmitHashPolicy
impl Debug for TransmitHashPolicy
sourceimpl<'de> Deserialize<'de> for TransmitHashPolicy
impl<'de> Deserialize<'de> for TransmitHashPolicy
sourcefn 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
sourceimpl Serialize for TransmitHashPolicy
impl Serialize for TransmitHashPolicy
impl Eq for TransmitHashPolicy
impl StructuralEq for TransmitHashPolicy
impl StructuralPartialEq for TransmitHashPolicy
Auto Trait Implementations
impl RefUnwindSafe for TransmitHashPolicy
impl Send for TransmitHashPolicy
impl Sync for TransmitHashPolicy
impl Unpin for TransmitHashPolicy
impl UnwindSafe for TransmitHashPolicy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more