Enum netplan_types::AccessPointMode
source · pub enum AccessPointMode {
Infrastructure,
Ap,
Adhoc,
}Expand description
Possible access point modes are infrastructure (the default), ap (create an access point to which other devices can connect), and adhoc (peer to peer networks without a central access point). ap is only supported with NetworkManager.
Variants§
Trait Implementations§
source§impl Clone for AccessPointMode
impl Clone for AccessPointMode
source§fn clone(&self) -> AccessPointMode
fn clone(&self) -> AccessPointMode
Returns a copy 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 AccessPointMode
impl Debug for AccessPointMode
source§impl<'de> Deserialize<'de> for AccessPointMode
impl<'de> Deserialize<'de> for AccessPointMode
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<AccessPointMode> for AccessPointMode
impl PartialEq<AccessPointMode> for AccessPointMode
source§fn eq(&self, other: &AccessPointMode) -> bool
fn eq(&self, other: &AccessPointMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AccessPointMode
impl Serialize for AccessPointMode
impl Eq for AccessPointMode
impl StructuralEq for AccessPointMode
impl StructuralPartialEq for AccessPointMode
Auto Trait Implementations§
impl RefUnwindSafe for AccessPointMode
impl Send for AccessPointMode
impl Sync for AccessPointMode
impl Unpin for AccessPointMode
impl UnwindSafe for AccessPointMode
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