Enum netplan_types::WirelessBand
source · [−]pub enum WirelessBand {
Ghz2,
Ghz5,
}Expand description
Possible bands are 5GHz (for 5GHz 802.11a) and 2.4GHz (for 2.4GHz 802.11), do not restrict the 802.11 frequency band of the network if unset (the default).
Variants
Ghz2
2.4Ghz
Ghz5
5Ghz
Trait Implementations
sourceimpl Clone for WirelessBand
impl Clone for WirelessBand
sourcefn clone(&self) -> WirelessBand
fn clone(&self) -> WirelessBand
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 WirelessBand
impl Debug for WirelessBand
sourceimpl<'de> Deserialize<'de> for WirelessBand
impl<'de> Deserialize<'de> for WirelessBand
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 PartialEq<WirelessBand> for WirelessBand
impl PartialEq<WirelessBand> for WirelessBand
sourceimpl Serialize for WirelessBand
impl Serialize for WirelessBand
impl Eq for WirelessBand
impl StructuralEq for WirelessBand
impl StructuralPartialEq for WirelessBand
Auto Trait Implementations
impl RefUnwindSafe for WirelessBand
impl Send for WirelessBand
impl Sync for WirelessBand
impl Unpin for WirelessBand
impl UnwindSafe for WirelessBand
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