#[repr(u64)]pub enum LeSubEventCode {
Show 30 variants
CONNECTION_COMPLETE = 1,
ADVERTISING_REPORT = 2,
CONNECTION_UPDATE_COMPLETE = 3,
READ_REMOTE_FEATURES_COMPLETE = 4,
LONG_TERM_KEY_REQUEST = 5,
REMOTE_CONNECTION_PARAMETER_REQUEST = 6,
DATA_LENGTH_CHANGE = 7,
READ_LOCAL_P256_PUBLIC_KEY_COMPLETE = 8,
GENERATE_DH_KEY_COMPLETE = 9,
ENHANCED_CONNECTION_COMPLETE_V1 = 10,
DIRECTED_ADVERTISING_REPORT = 11,
PHY_UPDATE_COMPLETE = 12,
EXTENDED_ADVERTISING_REPORT = 13,
PERIODIC_ADVERTISING_SYNC_ESTABLISHED = 14,
PERIODIC_ADVERTISING_REPORT = 15,
PERIODIC_ADVERTISING_SYNC_LOST = 16,
SCAN_TIMEOUT = 17,
ADVERTISING_SET_TERMINATED = 18,
SCAN_REQUEST_RECEIVED = 19,
CHANNEL_SELECTION_ALGORITHM = 20,
PERIODIC_ADVERTISING_SYNC_TRANSFER_RECEIVED = 24,
CIS_ESTABLISHED = 25,
REQUEST_PEER_SCA_COMPLETE = 31,
CIS_REQUEST = 26,
BIG_INFO_ADVERTISING_REPORT = 34,
SUBRATE_CHANGE = 35,
PERIODIC_ADVERTISING_SYNC_ESTABLISHED_V2 = 36,
PERIODIC_ADVERTISING_REPORT_V2 = 37,
PERIODIC_ADVERTISING_SYNC_TRANSFER_RECEIVED_V2 = 38,
ENHANCED_CONNECTION_COMPLETE_V2 = 41,
}Variants§
CONNECTION_COMPLETE = 1
ADVERTISING_REPORT = 2
CONNECTION_UPDATE_COMPLETE = 3
READ_REMOTE_FEATURES_COMPLETE = 4
LONG_TERM_KEY_REQUEST = 5
REMOTE_CONNECTION_PARAMETER_REQUEST = 6
DATA_LENGTH_CHANGE = 7
READ_LOCAL_P256_PUBLIC_KEY_COMPLETE = 8
GENERATE_DH_KEY_COMPLETE = 9
ENHANCED_CONNECTION_COMPLETE_V1 = 10
DIRECTED_ADVERTISING_REPORT = 11
PHY_UPDATE_COMPLETE = 12
EXTENDED_ADVERTISING_REPORT = 13
PERIODIC_ADVERTISING_SYNC_ESTABLISHED = 14
PERIODIC_ADVERTISING_REPORT = 15
PERIODIC_ADVERTISING_SYNC_LOST = 16
SCAN_TIMEOUT = 17
ADVERTISING_SET_TERMINATED = 18
SCAN_REQUEST_RECEIVED = 19
CHANNEL_SELECTION_ALGORITHM = 20
PERIODIC_ADVERTISING_SYNC_TRANSFER_RECEIVED = 24
CIS_ESTABLISHED = 25
REQUEST_PEER_SCA_COMPLETE = 31
CIS_REQUEST = 26
BIG_INFO_ADVERTISING_REPORT = 34
SUBRATE_CHANGE = 35
PERIODIC_ADVERTISING_SYNC_ESTABLISHED_V2 = 36
PERIODIC_ADVERTISING_REPORT_V2 = 37
PERIODIC_ADVERTISING_SYNC_TRANSFER_RECEIVED_V2 = 38
ENHANCED_CONNECTION_COMPLETE_V2 = 41
Trait Implementations§
Source§impl Clone for LeSubEventCode
impl Clone for LeSubEventCode
impl Copy for LeSubEventCode
Source§impl Debug for LeSubEventCode
impl Debug for LeSubEventCode
impl Eq for LeSubEventCode
Source§impl From<LeSubEventCode> for u8
impl From<LeSubEventCode> for u8
Source§fn from(val: LeSubEventCode) -> Self
fn from(val: LeSubEventCode) -> Self
Converts to this type from the input type.
Source§impl From<LeSubEventCode> for u16
impl From<LeSubEventCode> for u16
Source§fn from(val: LeSubEventCode) -> Self
fn from(val: LeSubEventCode) -> Self
Converts to this type from the input type.
Source§impl From<LeSubEventCode> for u32
impl From<LeSubEventCode> for u32
Source§fn from(val: LeSubEventCode) -> Self
fn from(val: LeSubEventCode) -> Self
Converts to this type from the input type.
Source§impl From<LeSubEventCode> for u64
impl From<LeSubEventCode> for u64
Source§fn from(val: LeSubEventCode) -> Self
fn from(val: LeSubEventCode) -> Self
Converts to this type from the input type.
Source§impl From<LeSubEventCode> for i8
impl From<LeSubEventCode> for i8
Source§fn from(val: LeSubEventCode) -> Self
fn from(val: LeSubEventCode) -> Self
Converts to this type from the input type.
Source§impl From<LeSubEventCode> for i16
impl From<LeSubEventCode> for i16
Source§fn from(val: LeSubEventCode) -> Self
fn from(val: LeSubEventCode) -> Self
Converts to this type from the input type.
Source§impl From<LeSubEventCode> for i32
impl From<LeSubEventCode> for i32
Source§fn from(val: LeSubEventCode) -> Self
fn from(val: LeSubEventCode) -> Self
Converts to this type from the input type.
Source§impl From<LeSubEventCode> for i64
impl From<LeSubEventCode> for i64
Source§fn from(val: LeSubEventCode) -> Self
fn from(val: LeSubEventCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LeSubEventCode
impl PartialEq for LeSubEventCode
Source§impl SafeCmp<LeSubEventCode> for LeSubEventCode
impl SafeCmp<LeSubEventCode> for LeSubEventCode
Source§impl SafeCmp<LeSubEventCode> for u64
impl SafeCmp<LeSubEventCode> for u64
fn safe_eq(&self, other: LeSubEventCode) -> bool
fn safe_less(&self, other: LeSubEventCode) -> bool
Source§impl SafeCmp<LeSubEventCode> for i64
impl SafeCmp<LeSubEventCode> for i64
fn safe_eq(&self, other: LeSubEventCode) -> bool
fn safe_less(&self, other: LeSubEventCode) -> bool
Source§impl SafeCmp<i32> for LeSubEventCode
impl SafeCmp<i32> for LeSubEventCode
Source§impl SafeCmp<i64> for LeSubEventCode
impl SafeCmp<i64> for LeSubEventCode
Source§impl SafeCmp<u32> for LeSubEventCode
impl SafeCmp<u32> for LeSubEventCode
Source§impl SafeCmp<u64> for LeSubEventCode
impl SafeCmp<u64> for LeSubEventCode
impl StructuralPartialEq for LeSubEventCode
Source§impl<V: Into<u64> + Copy> TryFromRaw<V> for LeSubEventCode
impl<V: Into<u64> + Copy> TryFromRaw<V> for LeSubEventCode
fn try_from_raw(val: V) -> Result<Self, Error<V>>
Auto Trait Implementations§
impl Freeze for LeSubEventCode
impl RefUnwindSafe for LeSubEventCode
impl Send for LeSubEventCode
impl Sync for LeSubEventCode
impl Unpin for LeSubEventCode
impl UnsafeUnpin for LeSubEventCode
impl UnwindSafe for LeSubEventCode
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