pub enum SecurityType {
None,
Wep,
Wpa,
Wpa2,
Wpa3,
}
Variants§
Implementations§
source§impl SecurityType
impl SecurityType
sourcepub fn list_variants() -> Vec<Self>
pub fn list_variants() -> Vec<Self>
List all security type variants.
sourcepub fn is_compatible_with_scanned_type(
&self,
scanned_type: &SecurityTypeDetailed
) -> bool
pub fn is_compatible_with_scanned_type( &self, scanned_type: &SecurityTypeDetailed ) -> bool
Return whether or not this saved security type can be used to connect scan results with this detailed security type.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for SecurityType
impl<'arbitrary> Arbitrary<'arbitrary> for SecurityType
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given unstructured data. Read moresource§impl Clone for SecurityType
impl Clone for SecurityType
source§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 moresource§impl Debug for SecurityType
impl Debug for SecurityType
source§impl From<SecurityDescriptor> for SecurityType
impl From<SecurityDescriptor> for SecurityType
source§fn from(descriptor: SecurityDescriptor) -> Self
fn from(descriptor: SecurityDescriptor) -> Self
Converts to this type from the input type.
source§impl From<SecurityType> for SecurityType
impl From<SecurityType> for SecurityType
source§fn from(security_type: SecurityType) -> Self
fn from(security_type: SecurityType) -> Self
Converts to this type from the input type.
source§impl From<SecurityType> for SecurityType
impl From<SecurityType> for SecurityType
source§fn from(item: SecurityType) -> Self
fn from(item: SecurityType) -> Self
Converts to this type from the input type.
source§impl From<SecurityType> for SecurityType
impl From<SecurityType> for SecurityType
source§fn from(item: SecurityType) -> Self
fn from(item: SecurityType) -> Self
Converts to this type from the input type.
source§impl From<SecurityType> for SecurityType
impl From<SecurityType> for SecurityType
source§fn from(security: SecurityType) -> Self
fn from(security: SecurityType) -> Self
Converts to this type from the input type.
source§impl Hash for SecurityType
impl Hash for SecurityType
source§impl PartialEq for SecurityType
impl PartialEq for SecurityType
source§fn eq(&self, other: &SecurityType) -> bool
fn eq(&self, other: &SecurityType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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