#[non_exhaustive]#[repr(u16)]pub enum CommTimeoutType {
WildcardPairingTimeout = 0,
PairingTimeout = 1,
ConnectionLost = 2,
ConnectionTimeout = 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.
Implementations§
Trait Implementations§
Source§impl Clone for CommTimeoutType
impl Clone for CommTimeoutType
Source§fn clone(&self) -> CommTimeoutType
fn clone(&self) -> CommTimeoutType
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 Debug for CommTimeoutType
impl Debug for CommTimeoutType
Source§impl Hash for CommTimeoutType
impl Hash for CommTimeoutType
Source§impl PartialEq for CommTimeoutType
impl PartialEq for CommTimeoutType
Source§fn eq(&self, other: &CommTimeoutType) -> bool
fn eq(&self, other: &CommTimeoutType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CommTimeoutType
impl Eq for CommTimeoutType
impl StructuralPartialEq for CommTimeoutType
Auto Trait Implementations§
impl Freeze for CommTimeoutType
impl RefUnwindSafe for CommTimeoutType
impl Send for CommTimeoutType
impl Sync for CommTimeoutType
impl Unpin for CommTimeoutType
impl UnsafeUnpin for CommTimeoutType
impl UnwindSafe for CommTimeoutType
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