LeMetaEvent

Struct LeMetaEvent 

Source
pub struct LeMetaEvent { /* private fields */ }

Implementations§

Source§

impl LeMetaEvent

Source

pub fn parse(bytes: &[u8]) -> Result<Self, Error>

Source

pub fn specialize(&self) -> LeMetaEventChild

Source

pub fn get_event_code(&self) -> EventCode

Source

pub fn get_subevent_code(&self) -> SubeventCode

Source

pub fn get_size(&self) -> usize

Trait Implementations§

Source§

impl Clone for LeMetaEvent

Source§

fn clone(&self) -> LeMetaEvent

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LeMetaEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<GenerateDhKeyComplete> for LeMetaEvent

Source§

fn from(packet: GenerateDhKeyComplete) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<GenerateDhKeyCompleteBuilder> for LeMetaEvent

Source§

fn from(builder: GenerateDhKeyCompleteBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeAdvertisingReport> for LeMetaEvent

Source§

fn from(packet: LeAdvertisingReport) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeAdvertisingReportBuilder> for LeMetaEvent

Source§

fn from(builder: LeAdvertisingReportBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeAdvertisingSetTerminated> for LeMetaEvent

Source§

fn from(packet: LeAdvertisingSetTerminated) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeAdvertisingSetTerminatedBuilder> for LeMetaEvent

Source§

fn from(builder: LeAdvertisingSetTerminatedBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeBigInfoAdvertisingReport> for LeMetaEvent

Source§

fn from(packet: LeBigInfoAdvertisingReport) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeBigInfoAdvertisingReportBuilder> for LeMetaEvent

Source§

fn from(builder: LeBigInfoAdvertisingReportBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeBigSyncEstablished> for LeMetaEvent

Source§

fn from(packet: LeBigSyncEstablished) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeBigSyncEstablishedBuilder> for LeMetaEvent

Source§

fn from(builder: LeBigSyncEstablishedBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeBigSyncLost> for LeMetaEvent

Source§

fn from(packet: LeBigSyncLost) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeBigSyncLostBuilder> for LeMetaEvent

Source§

fn from(builder: LeBigSyncLostBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeChannelSelectionAlgorithm> for LeMetaEvent

Source§

fn from(packet: LeChannelSelectionAlgorithm) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeChannelSelectionAlgorithmBuilder> for LeMetaEvent

Source§

fn from(builder: LeChannelSelectionAlgorithmBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeCisEstablished> for LeMetaEvent

Source§

fn from(packet: LeCisEstablished) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeCisEstablishedBuilder> for LeMetaEvent

Source§

fn from(builder: LeCisEstablishedBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeCisRequest> for LeMetaEvent

Source§

fn from(packet: LeCisRequest) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeCisRequestBuilder> for LeMetaEvent

Source§

fn from(builder: LeCisRequestBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeConnectionComplete> for LeMetaEvent

Source§

fn from(packet: LeConnectionComplete) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeConnectionCompleteBuilder> for LeMetaEvent

Source§

fn from(builder: LeConnectionCompleteBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeConnectionIqReport> for LeMetaEvent

Source§

fn from(packet: LeConnectionIqReport) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeConnectionIqReportBuilder> for LeMetaEvent

Source§

fn from(builder: LeConnectionIqReportBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeConnectionUpdateComplete> for LeMetaEvent

Source§

fn from(packet: LeConnectionUpdateComplete) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeConnectionUpdateCompleteBuilder> for LeMetaEvent

Source§

fn from(builder: LeConnectionUpdateCompleteBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeConnectionlessIqReport> for LeMetaEvent

Source§

fn from(packet: LeConnectionlessIqReport) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeConnectionlessIqReportBuilder> for LeMetaEvent

Source§

fn from(builder: LeConnectionlessIqReportBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeCreateBigComplete> for LeMetaEvent

Source§

fn from(packet: LeCreateBigComplete) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeCreateBigCompleteBuilder> for LeMetaEvent

Source§

fn from(builder: LeCreateBigCompleteBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeCteRequestFailed> for LeMetaEvent

Source§

fn from(packet: LeCteRequestFailed) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeCteRequestFailedBuilder> for LeMetaEvent

Source§

fn from(builder: LeCteRequestFailedBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeDataLengthChange> for LeMetaEvent

Source§

fn from(packet: LeDataLengthChange) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeDataLengthChangeBuilder> for LeMetaEvent

Source§

fn from(builder: LeDataLengthChangeBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeDirectedAdvertisingReport> for LeMetaEvent

Source§

fn from(packet: LeDirectedAdvertisingReport) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeDirectedAdvertisingReportBuilder> for LeMetaEvent

Source§

fn from(builder: LeDirectedAdvertisingReportBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeEnhancedConnectionComplete> for LeMetaEvent

Source§

fn from(packet: LeEnhancedConnectionComplete) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeEnhancedConnectionCompleteBuilder> for LeMetaEvent

Source§

fn from(builder: LeEnhancedConnectionCompleteBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeExtendedAdvertisingReport> for LeMetaEvent

Source§

fn from(packet: LeExtendedAdvertisingReport) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeExtendedAdvertisingReportBuilder> for LeMetaEvent

Source§

fn from(builder: LeExtendedAdvertisingReportBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeLongTermKeyRequest> for LeMetaEvent

Source§

fn from(packet: LeLongTermKeyRequest) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeLongTermKeyRequestBuilder> for LeMetaEvent

Source§

fn from(builder: LeLongTermKeyRequestBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeMetaEvent> for Bytes

Source§

fn from(packet: LeMetaEvent) -> Self

Converts to this type from the input type.
Source§

impl From<LeMetaEvent> for Event

Source§

fn from(packet: LeMetaEvent) -> Event

Converts to this type from the input type.
Source§

impl From<LeMetaEvent> for Vec<u8>

Source§

fn from(packet: LeMetaEvent) -> Self

Converts to this type from the input type.
Source§

impl From<LeMetaEventBuilder> for LeMetaEvent

Source§

fn from(builder: LeMetaEventBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LePathLossThreshold> for LeMetaEvent

Source§

fn from(packet: LePathLossThreshold) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LePathLossThresholdBuilder> for LeMetaEvent

Source§

fn from(builder: LePathLossThresholdBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LePeriodicAdvertisingReport> for LeMetaEvent

Source§

fn from(packet: LePeriodicAdvertisingReport) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LePeriodicAdvertisingReportBuilder> for LeMetaEvent

Source§

fn from(builder: LePeriodicAdvertisingReportBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LePeriodicAdvertisingSyncEstablished> for LeMetaEvent

Source§

fn from(packet: LePeriodicAdvertisingSyncEstablished) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LePeriodicAdvertisingSyncEstablishedBuilder> for LeMetaEvent

Source§

fn from(builder: LePeriodicAdvertisingSyncEstablishedBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LePeriodicAdvertisingSyncLost> for LeMetaEvent

Source§

fn from(packet: LePeriodicAdvertisingSyncLost) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LePeriodicAdvertisingSyncLostBuilder> for LeMetaEvent

Source§

fn from(builder: LePeriodicAdvertisingSyncLostBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LePeriodicAdvertisingSyncTransferReceived> for LeMetaEvent

Source§

fn from(packet: LePeriodicAdvertisingSyncTransferReceived) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LePeriodicAdvertisingSyncTransferReceivedBuilder> for LeMetaEvent

Source§

fn from( builder: LePeriodicAdvertisingSyncTransferReceivedBuilder, ) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LePhyUpdateComplete> for LeMetaEvent

Source§

fn from(packet: LePhyUpdateComplete) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LePhyUpdateCompleteBuilder> for LeMetaEvent

Source§

fn from(builder: LePhyUpdateCompleteBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeReadRemoteFeaturesComplete> for LeMetaEvent

Source§

fn from(packet: LeReadRemoteFeaturesComplete) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeReadRemoteFeaturesCompleteBuilder> for LeMetaEvent

Source§

fn from(builder: LeReadRemoteFeaturesCompleteBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeRemoteConnectionParameterRequest> for LeMetaEvent

Source§

fn from(packet: LeRemoteConnectionParameterRequest) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeRemoteConnectionParameterRequestBuilder> for LeMetaEvent

Source§

fn from(builder: LeRemoteConnectionParameterRequestBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeRequestPeerScaComplete> for LeMetaEvent

Source§

fn from(packet: LeRequestPeerScaComplete) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeRequestPeerScaCompleteBuilder> for LeMetaEvent

Source§

fn from(builder: LeRequestPeerScaCompleteBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeScanRequestReceived> for LeMetaEvent

Source§

fn from(packet: LeScanRequestReceived) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeScanRequestReceivedBuilder> for LeMetaEvent

Source§

fn from(builder: LeScanRequestReceivedBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeScanTimeout> for LeMetaEvent

Source§

fn from(packet: LeScanTimeout) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeScanTimeoutBuilder> for LeMetaEvent

Source§

fn from(builder: LeScanTimeoutBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeSubrateChange> for LeMetaEvent

Source§

fn from(packet: LeSubrateChange) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeSubrateChangeBuilder> for LeMetaEvent

Source§

fn from(builder: LeSubrateChangeBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeTerminateBigComplete> for LeMetaEvent

Source§

fn from(packet: LeTerminateBigComplete) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeTerminateBigCompleteBuilder> for LeMetaEvent

Source§

fn from(builder: LeTerminateBigCompleteBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeTransmitPowerReporting> for LeMetaEvent

Source§

fn from(packet: LeTransmitPowerReporting) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<LeTransmitPowerReportingBuilder> for LeMetaEvent

Source§

fn from(builder: LeTransmitPowerReportingBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<ReadLocalP256PublicKeyComplete> for LeMetaEvent

Source§

fn from(packet: ReadLocalP256PublicKeyComplete) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl From<ReadLocalP256PublicKeyCompleteBuilder> for LeMetaEvent

Source§

fn from(builder: ReadLocalP256PublicKeyCompleteBuilder) -> LeMetaEvent

Converts to this type from the input type.
Source§

impl Packet for LeMetaEvent

Source§

fn to_bytes(self) -> Bytes

Source§

fn to_vec(self) -> Vec<u8>

Source§

impl PartialEq for LeMetaEvent

Source§

fn eq(&self, other: &LeMetaEvent) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<Event> for LeMetaEvent

Source§

type Error = Error

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

fn try_from(packet: Event) -> Result<LeMetaEvent, Error>

Performs the conversion.
Source§

impl Eq for LeMetaEvent

Source§

impl StructuralPartialEq for LeMetaEvent

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.
Source§

impl<T> Ungil for T
where T: Send,