pub struct WlanKeyType { /* private fields */ }Expand description
The wire type corresponding to WlanKeyType.
Implementations§
Source§impl WlanKeyType
impl WlanKeyType
pub const PAIRWISE: WlanKeyType
pub const GROUP: WlanKeyType
pub const IGTK: WlanKeyType
pub const PEER: WlanKeyType
Trait Implementations§
Source§impl Clone for WlanKeyType
impl Clone for WlanKeyType
Source§fn clone(&self) -> WlanKeyType
fn clone(&self) -> WlanKeyType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Constrained for WlanKeyType
impl Constrained for WlanKeyType
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, WlanKeyType>,
_: <WlanKeyType as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, WlanKeyType>, _: <WlanKeyType as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl Debug for WlanKeyType
impl Debug for WlanKeyType
Source§impl<___D> Decode<___D> for WlanKeyTypewhere
___D: ?Sized,
impl<___D> Decode<___D> for WlanKeyTypewhere
___D: ?Sized,
Source§impl<'a, ___E> Encode<WlanKeyType, ___E> for &'a WlanKeyTypewhere
___E: ?Sized,
impl<'a, ___E> Encode<WlanKeyType, ___E> for &'a WlanKeyTypewhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<WlanKeyType>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<WlanKeyType>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<WlanKeyType, ___E> for WlanKeyTypewhere
___E: ?Sized,
impl<___E> Encode<WlanKeyType, ___E> for WlanKeyTypewhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<WlanKeyType>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<WlanKeyType>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl From<WlanKeyType> for WlanKeyType
impl From<WlanKeyType> for WlanKeyType
Source§fn from(wire: WlanKeyType) -> WlanKeyType
fn from(wire: WlanKeyType) -> WlanKeyType
Converts to this type from the input type.
Source§impl From<WlanKeyType> for WlanKeyType
impl From<WlanKeyType> for WlanKeyType
Source§fn from(natural: WlanKeyType) -> WlanKeyType
fn from(natural: WlanKeyType) -> WlanKeyType
Converts to this type from the input type.
Source§impl FromWire<WlanKeyType> for WlanKeyType
impl FromWire<WlanKeyType> for WlanKeyType
Source§fn from_wire(wire: WlanKeyType) -> WlanKeyType
fn from_wire(wire: WlanKeyType) -> WlanKeyType
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WlanKeyType> for WlanKeyType
impl FromWireRef<WlanKeyType> for WlanKeyType
Source§fn from_wire_ref(wire: &WlanKeyType) -> WlanKeyType
fn from_wire_ref(wire: &WlanKeyType) -> WlanKeyType
Converts the given reference to this type.
Source§impl IntoNatural for WlanKeyType
impl IntoNatural for WlanKeyType
Source§type Natural = WlanKeyType
type Natural = WlanKeyType
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl PartialEq for WlanKeyType
impl PartialEq for WlanKeyType
Source§fn eq(&self, other: &WlanKeyType) -> bool
fn eq(&self, other: &WlanKeyType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Wire for WlanKeyType
impl Wire for WlanKeyType
Source§type Narrowed<'de> = WlanKeyType
type Narrowed<'de> = WlanKeyType
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(_: &mut MaybeUninit<WlanKeyType>)
fn zero_padding(_: &mut MaybeUninit<WlanKeyType>)
Writes zeroes to the padding for this type, if any.
impl Copy for WlanKeyType
impl Eq for WlanKeyType
impl StructuralPartialEq for WlanKeyType
Auto Trait Implementations§
impl Freeze for WlanKeyType
impl RefUnwindSafe for WlanKeyType
impl Send for WlanKeyType
impl Sync for WlanKeyType
impl Unpin for WlanKeyType
impl UnsafeUnpin for WlanKeyType
impl UnwindSafe for WlanKeyType
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> 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]