#[repr(u32)]pub enum Protocol {
Open = 1,
Wep = 2,
Wpa1 = 3,
Wpa2Personal = 4,
Wpa2Enterprise = 5,
Wpa3Personal = 6,
Wpa3Enterprise = 7,
Owe = 8,
UnknownOrdinal_(u32),
}Expand description
WLAN security protocols.
WPA protocols are additionally enumerated by their authentication suite (i.e., Personal vs. Enterprise).
Variants§
Open = 1
Wep = 2
Wpa1 = 3
Wpa2Personal = 4
Wpa2Enterprise = 5
Wpa3Personal = 6
Wpa3Enterprise = 7
Owe = 8
UnknownOrdinal_(u32)
Trait Implementations§
impl Copy for Protocol
Source§impl<___E> Encode<Protocol, ___E> for Protocolwhere
___E: ?Sized,
impl<___E> Encode<Protocol, ___E> for Protocolwhere
___E: ?Sized,
Source§impl<'a, ___E> Encode<Protocol, ___E> for &'a Protocolwhere
___E: ?Sized,
impl<'a, ___E> Encode<Protocol, ___E> for &'a Protocolwhere
___E: ?Sized,
impl Eq for Protocol
Source§impl FromWireRef<Protocol> for Protocol
impl FromWireRef<Protocol> for Protocol
Source§fn from_wire_ref(wire: &Protocol) -> Protocol
fn from_wire_ref(wire: &Protocol) -> Protocol
Converts the given reference to this type.
Source§impl Ord for Protocol
impl Ord for Protocol
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Protocol
impl PartialOrd for Protocol
impl StructuralPartialEq for Protocol
Auto Trait Implementations§
impl Freeze for Protocol
impl RefUnwindSafe for Protocol
impl Send for Protocol
impl Sync for Protocol
impl Unpin for Protocol
impl UnsafeUnpin for Protocol
impl UnwindSafe for Protocol
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,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]