Enum SecurityType
pub enum SecurityType {
None,
Wep,
Wpa,
Wpa2,
Wpa3,
}
Expand description
The security type of a network connection. It mirrors the fidl_fuchsia_wlan_policy SecurityType
Variants§
Trait Implementations§
§impl Clone for SecurityType
impl Clone for SecurityType
§fn clone(&self) -> SecurityType
fn clone(&self) -> SecurityType
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 more§impl Debug for SecurityType
impl Debug for SecurityType
§impl<'de> Deserialize<'de> for SecurityType
impl<'de> Deserialize<'de> for SecurityType
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecurityType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecurityType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Hash for SecurityType
impl Hash for SecurityType
§impl PartialEq for SecurityType
impl PartialEq for SecurityType
§impl Serialize for SecurityType
impl Serialize for SecurityType
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for SecurityType
impl Eq for SecurityType
impl StructuralPartialEq for SecurityType
Auto Trait Implementations§
impl Freeze for SecurityType
impl RefUnwindSafe for SecurityType
impl Send for SecurityType
impl Sync for SecurityType
impl Unpin for SecurityType
impl UnwindSafe for SecurityType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)