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 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 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 for AccessPointMode
impl PartialEq for AccessPointMode
Source§impl Serialize for AccessPointMode
impl Serialize for AccessPointMode
impl Eq for AccessPointMode
impl StructuralPartialEq for AccessPointMode
Auto Trait Implementations§
impl Freeze for AccessPointMode
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