pub struct ReasonCode { /* private fields */ }Expand description
The wire type corresponding to ReasonCode.
Implementations§
Source§impl ReasonCode
impl ReasonCode
pub const UNSPECIFIED_REASON: ReasonCode
pub const INVALID_AUTHENTICATION: ReasonCode
pub const LEAVING_NETWORK_DEAUTH: ReasonCode
pub const REASON_INACTIVITY: ReasonCode
pub const NO_MORE_STAS: ReasonCode
pub const INVALID_CLASS2_FRAME: ReasonCode
pub const INVALID_CLASS3_FRAME: ReasonCode
pub const LEAVING_NETWORK_DISASSOC: ReasonCode
pub const NOT_AUTHENTICATED: ReasonCode
pub const UNACCEPTABLE_POWER_CAPABILITY: ReasonCode
pub const UNACCEPTABLE_SUPPORTED_CHANNELS: ReasonCode
pub const BSS_TRANSITION_DISASSOC: ReasonCode
pub const REASON_INVALID_ELEMENT: ReasonCode
pub const MIC_FAILURE: ReasonCode
pub const FOURWAY_HANDSHAKE_TIMEOUT: ReasonCode
pub const GK_HANDSHAKE_TIMEOUT: ReasonCode
pub const HANDSHAKE_ELEMENT_MISMATCH: ReasonCode
pub const REASON_INVALID_GROUP_CIPHER: ReasonCode
pub const REASON_INVALID_PAIRWISE_CIPHER: ReasonCode
pub const REASON_INVALID_AKMP: ReasonCode
pub const UNSUPPORTED_RSNE_VERSION: ReasonCode
pub const INVALID_RSNE_CAPABILITIES: ReasonCode
pub const IEEE802_1_X_AUTH_FAILED: ReasonCode
pub const REASON_CIPHER_OUT_OF_POLICY: ReasonCode
pub const TDLS_PEER_UNREACHABLE: ReasonCode
pub const TDLS_UNSPECIFIED_REASON: ReasonCode
pub const SSP_REQUESTED_DISASSOC: ReasonCode
pub const NO_SSP_ROAMING_AGREEMENT: ReasonCode
pub const BAD_CIPHER_OR_AKM: ReasonCode
pub const NOT_AUTHORIZED_THIS_LOCATION: ReasonCode
pub const SERVICE_CHANGE_PRECLUDES_TS: ReasonCode
pub const UNSPECIFIED_QOS_REASON: ReasonCode
pub const NOT_ENOUGH_BANDWIDTH: ReasonCode
pub const MISSING_ACKS: ReasonCode
pub const EXCEEDED_TXOP: ReasonCode
pub const STA_LEAVING: ReasonCode
pub const END_TS_BA_DLS: ReasonCode
pub const UNKNOWN_TS_BA: ReasonCode
pub const TIMEOUT: ReasonCode
pub const PEERKEY_MISMATCH: ReasonCode
pub const PEER_INITIATED: ReasonCode
pub const AP_INITIATED: ReasonCode
pub const REASON_INVALID_FT_ACTION_FRAME_COUNT: ReasonCode
pub const REASON_INVALID_PMKID: ReasonCode
pub const REASON_INVALID_MDE: ReasonCode
pub const REASON_INVALID_FTE: ReasonCode
pub const MESH_PEERING_CANCELED: ReasonCode
pub const MESH_MAX_PEERS: ReasonCode
pub const MESH_CONFIGURATION_POLICY_VIOLATION: ReasonCode
pub const MESH_CLOSE_RCVD: ReasonCode
pub const MESH_MAX_RETRIES: ReasonCode
pub const MESH_CONFIRM_TIMEOUT: ReasonCode
pub const MESH_INVALID_GTK: ReasonCode
pub const MESH_INCONSISTENT_PARAMETERS: ReasonCode
pub const MESH_INVALID_SECURITY_CAPABILITY: ReasonCode
pub const MESH_PATH_ERROR_NO_PROXY_INFORMATION: ReasonCode
pub const MESH_PATH_ERROR_NO_FORWARDING_INFORMATION: ReasonCode
pub const MESH_PATH_ERROR_DESTINATION_UNREACHABLE: ReasonCode
pub const MAC_ADDRESS_ALREADY_EXISTS_IN_MBSS: ReasonCode
pub const MESH_CHANNEL_SWITCH_REGULATORY_REQUIREMENTS: ReasonCode
pub const MESH_CHANNEL_SWITCH_UNSPECIFIED: ReasonCode
pub const MLME_LINK_FAILED: ReasonCode
pub const FW_RX_STALLED: ReasonCode
pub const FW_HIGH_WME_RX_ERR_RATE: ReasonCode
Trait Implementations§
Source§impl Clone for ReasonCode
impl Clone for ReasonCode
Source§fn clone(&self) -> ReasonCode
fn clone(&self) -> ReasonCode
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 ReasonCode
impl Constrained for ReasonCode
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, ReasonCode>,
_: <ReasonCode as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, ReasonCode>, _: <ReasonCode 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 ReasonCode
impl Debug for ReasonCode
Source§impl<___D> Decode<___D> for ReasonCodewhere
___D: ?Sized,
impl<___D> Decode<___D> for ReasonCodewhere
___D: ?Sized,
Source§impl<'a, ___E> Encode<ReasonCode, ___E> for &'a ReasonCodewhere
___E: ?Sized,
impl<'a, ___E> Encode<ReasonCode, ___E> for &'a ReasonCodewhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<ReasonCode>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<ReasonCode>, _: (), ) -> 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<ReasonCode, ___E> for ReasonCodewhere
___E: ?Sized,
impl<___E> Encode<ReasonCode, ___E> for ReasonCodewhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<ReasonCode>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<ReasonCode>, _: (), ) -> 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<ReasonCode> for ReasonCode
impl From<ReasonCode> for ReasonCode
Source§fn from(wire: ReasonCode) -> ReasonCode
fn from(wire: ReasonCode) -> ReasonCode
Converts to this type from the input type.
Source§impl From<ReasonCode> for ReasonCode
impl From<ReasonCode> for ReasonCode
Source§fn from(natural: ReasonCode) -> ReasonCode
fn from(natural: ReasonCode) -> ReasonCode
Converts to this type from the input type.
Source§impl FromWire<ReasonCode> for ReasonCode
impl FromWire<ReasonCode> for ReasonCode
Source§fn from_wire(wire: ReasonCode) -> ReasonCode
fn from_wire(wire: ReasonCode) -> ReasonCode
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<ReasonCode> for ReasonCode
impl FromWireRef<ReasonCode> for ReasonCode
Source§fn from_wire_ref(wire: &ReasonCode) -> ReasonCode
fn from_wire_ref(wire: &ReasonCode) -> ReasonCode
Converts the given reference to this type.
Source§impl IntoNatural for ReasonCode
impl IntoNatural for ReasonCode
Source§type Natural = ReasonCode
type Natural = ReasonCode
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 ReasonCode
impl PartialEq for ReasonCode
Source§fn eq(&self, other: &ReasonCode) -> bool
fn eq(&self, other: &ReasonCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Wire for ReasonCode
impl Wire for ReasonCode
Source§type Narrowed<'de> = ReasonCode
type Narrowed<'de> = ReasonCode
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(_: &mut MaybeUninit<ReasonCode>)
fn zero_padding(_: &mut MaybeUninit<ReasonCode>)
Writes zeroes to the padding for this type, if any.
impl Copy for ReasonCode
impl Eq for ReasonCode
impl StructuralPartialEq for ReasonCode
Auto Trait Implementations§
impl Freeze for ReasonCode
impl RefUnwindSafe for ReasonCode
impl Send for ReasonCode
impl Sync for ReasonCode
impl Unpin for ReasonCode
impl UnsafeUnpin for ReasonCode
impl UnwindSafe for ReasonCode
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]