Enum EventMaskFlags

Source
pub enum EventMaskFlags {
Show 49 variants InquiryComplete = 0, InquiryResult = 1, ConnectionComplete = 2, ConnectionRequest = 3, DisconnectionComplete = 4, AuthenticationComplete = 5, RemoteNameRequestComplete = 6, EncryptionChange = 7, ChangeConnectionLinkKeyComplete = 8, MasterLinkKeyComplete = 9, ReadRemoteSupportedFeaturesComplete = 10, ReadRemoteVersionInformationComplete = 11, QoSSetupComplete = 12, HardwareError = 15, FlushOccurred = 16, RoleChanged = 17, ModeChange = 19, ReturnLinkKey = 20, PinCodeRequest = 21, LinkKeyRequest = 22, LinkKeyNotification = 23, LoopbackCommand = 24, DataBufferOverflow = 25, MaxSlotsChanged = 26, ReadClockOffsetComplete = 27, ConnectionPacketTypeChanged = 28, QoSViolation = 29, PageScanModeChange = 30, PageScanRepetitionModeChange = 31, FlowSpecificationComplete = 32, InquiryResultWithRSSI = 33, ReadRemoteExtendedFeaturesComplete = 34, SynchronousConnectionCompleted = 43, SynchronousConnectionChanged = 44, SniffSubrating = 45, ExtendedInquiryResult = 46, EncryptionKeyRefreshComplete = 47, IOCapabilityRequest = 48, IOCapabilityResponse = 49, UserConfirmationRequest = 50, UserPasskeyRequest = 51, RemoteOOBDataRequest = 52, SimplePairingComplete = 53, LinkSupervisionTimeoutChanged = 55, EnhancedFlushComplete = 56, UserPasskeyNotification = 58, KeypressNotification = 59, RemoteHouseSupportedFeaturesNotification = 60, LEMetaEvent = 61,
}

Variants§

§

InquiryComplete = 0

§

InquiryResult = 1

§

ConnectionComplete = 2

§

ConnectionRequest = 3

§

DisconnectionComplete = 4

§

AuthenticationComplete = 5

§

RemoteNameRequestComplete = 6

§

EncryptionChange = 7

§

ChangeConnectionLinkKeyComplete = 8

§

MasterLinkKeyComplete = 9

§

ReadRemoteSupportedFeaturesComplete = 10

§

ReadRemoteVersionInformationComplete = 11

§

QoSSetupComplete = 12

§

HardwareError = 15

§

FlushOccurred = 16

§

RoleChanged = 17

§

ModeChange = 19

§

ReturnLinkKey = 20

§

PinCodeRequest = 21

§

LinkKeyRequest = 22

§

LinkKeyNotification = 23

§

LoopbackCommand = 24

§

DataBufferOverflow = 25

§

MaxSlotsChanged = 26

§

ReadClockOffsetComplete = 27

§

ConnectionPacketTypeChanged = 28

§

QoSViolation = 29

§

PageScanModeChange = 30

§

PageScanRepetitionModeChange = 31

§

FlowSpecificationComplete = 32

§

InquiryResultWithRSSI = 33

§

ReadRemoteExtendedFeaturesComplete = 34

§

SynchronousConnectionCompleted = 43

§

SynchronousConnectionChanged = 44

§

SniffSubrating = 45

§

ExtendedInquiryResult = 46

§

EncryptionKeyRefreshComplete = 47

§

IOCapabilityRequest = 48

§

IOCapabilityResponse = 49

§

UserConfirmationRequest = 50

§

UserPasskeyRequest = 51

§

RemoteOOBDataRequest = 52

§

SimplePairingComplete = 53

§

LinkSupervisionTimeoutChanged = 55

§

EnhancedFlushComplete = 56

§

UserPasskeyNotification = 58

§

KeypressNotification = 59

§

RemoteHouseSupportedFeaturesNotification = 60

§

LEMetaEvent = 61

Trait Implementations§

Source§

impl From<EventMaskFlags> for u64

Source§

fn from(f: EventMaskFlags) -> Self

Converts to this type from the input type.
Source§

impl From<EventMaskFlags> for u8

Source§

fn from(f: EventMaskFlags) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.