#[non_exhaustive]#[repr(u32)]pub enum net_async_status {
NET_ASYNC_COMPLETE = 0,
NET_ASYNC_NOT_READY = 1,
NET_ASYNC_ERROR = 2,
NET_ASYNC_COMPLETE_NO_MORE_RESULTS = 3,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NET_ASYNC_COMPLETE = 0
NET_ASYNC_NOT_READY = 1
NET_ASYNC_ERROR = 2
NET_ASYNC_COMPLETE_NO_MORE_RESULTS = 3
Trait Implementations§
Source§impl Clone for net_async_status
impl Clone for net_async_status
Source§fn clone(&self) -> net_async_status
fn clone(&self) -> net_async_status
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 net_async_status
impl Debug for net_async_status
Source§impl Hash for net_async_status
impl Hash for net_async_status
Source§impl PartialEq for net_async_status
impl PartialEq for net_async_status
impl Copy for net_async_status
impl Eq for net_async_status
impl StructuralPartialEq for net_async_status
Auto Trait Implementations§
impl Freeze for net_async_status
impl RefUnwindSafe for net_async_status
impl Send for net_async_status
impl Sync for net_async_status
impl Unpin for net_async_status
impl UnwindSafe for net_async_status
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