Enum DisconnectMlmeEventName
#[repr(u32)]pub enum DisconnectMlmeEventName {
DeauthenticateIndication = 1,
DisassociateIndication = 2,
RoamStartIndication = 3,
RoamResultIndication = 4,
SaeHandshakeResponse = 5,
RoamRequest = 6,
RoamConfirmation = 7,
}
Variants§
DeauthenticateIndication = 1
DisassociateIndication = 2
RoamStartIndication = 3
RoamResultIndication = 4
SaeHandshakeResponse = 5
RoamRequest = 6
RoamConfirmation = 7
Implementations§
§impl DisconnectMlmeEventName
impl DisconnectMlmeEventName
pub fn from_primitive(prim: u32) -> Option<DisconnectMlmeEventName>
pub const fn into_primitive(self) -> u32
pub fn is_unknown(&self) -> bool
👎Deprecated: Strict enums should not use
is_unknown
Trait Implementations§
§impl Clone for DisconnectMlmeEventName
impl Clone for DisconnectMlmeEventName
§fn clone(&self) -> DisconnectMlmeEventName
fn clone(&self) -> DisconnectMlmeEventName
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 DisconnectMlmeEventName
impl Debug for DisconnectMlmeEventName
§impl<D> Decode<DisconnectMlmeEventName, D> for DisconnectMlmeEventNamewhere
D: ResourceDialect,
impl<D> Decode<DisconnectMlmeEventName, D> for DisconnectMlmeEventNamewhere
D: ResourceDialect,
§fn new_empty() -> DisconnectMlmeEventName
fn new_empty() -> DisconnectMlmeEventName
Creates a valid instance of
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl<D> Encode<DisconnectMlmeEventName, D> for DisconnectMlmeEventNamewhere
D: ResourceDialect,
impl<D> Encode<DisconnectMlmeEventName, D> for DisconnectMlmeEventNamewhere
D: ResourceDialect,
§impl Hash for DisconnectMlmeEventName
impl Hash for DisconnectMlmeEventName
§impl Ord for DisconnectMlmeEventName
impl Ord for DisconnectMlmeEventName
§fn cmp(&self, other: &DisconnectMlmeEventName) -> Ordering
fn cmp(&self, other: &DisconnectMlmeEventName) -> Ordering
1.21.0 · 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
§impl PartialEq for DisconnectMlmeEventName
impl PartialEq for DisconnectMlmeEventName
§impl PartialOrd for DisconnectMlmeEventName
impl PartialOrd for DisconnectMlmeEventName
§impl TypeMarker for DisconnectMlmeEventName
impl TypeMarker for DisconnectMlmeEventName
§type Owned = DisconnectMlmeEventName
type Owned = DisconnectMlmeEventName
The owned Rust type which this FIDL type decodes into.
§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.§impl ValueTypeMarker for DisconnectMlmeEventName
impl ValueTypeMarker for DisconnectMlmeEventName
§type Borrowed<'a> = DisconnectMlmeEventName
type Borrowed<'a> = DisconnectMlmeEventName
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more§fn borrow(
value: &<DisconnectMlmeEventName as TypeMarker>::Owned,
) -> <DisconnectMlmeEventName as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<DisconnectMlmeEventName as TypeMarker>::Owned, ) -> <DisconnectMlmeEventName as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from
&Self::Owned
to Self::Borrowed
.impl Copy for DisconnectMlmeEventName
impl Eq for DisconnectMlmeEventName
impl StructuralPartialEq for DisconnectMlmeEventName
Auto Trait Implementations§
impl Freeze for DisconnectMlmeEventName
impl RefUnwindSafe for DisconnectMlmeEventName
impl Send for DisconnectMlmeEventName
impl Sync for DisconnectMlmeEventName
impl Unpin for DisconnectMlmeEventName
impl UnwindSafe for DisconnectMlmeEventName
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