pub struct LeSetExtendedAdvertisingData { /* private fields */ }Implementations§
Source§impl LeSetExtendedAdvertisingData
impl LeSetExtendedAdvertisingData
pub fn parse(bytes: &[u8]) -> Result<Self, Error>
pub fn get_advertising_data(&self) -> &Vec<u8> ⓘ
pub fn get_advertising_handle(&self) -> u8
pub fn get_fragment_preference(&self) -> FragmentPreference
pub fn get_op_code(&self) -> OpCode
pub fn get_operation(&self) -> Operation
pub fn get_size(&self) -> usize
Trait Implementations§
Source§impl Clone for LeSetExtendedAdvertisingData
impl Clone for LeSetExtendedAdvertisingData
Source§fn clone(&self) -> LeSetExtendedAdvertisingData
fn clone(&self) -> LeSetExtendedAdvertisingData
Returns a duplicate 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 LeSetExtendedAdvertisingData
impl Debug for LeSetExtendedAdvertisingData
Source§impl From<LeSetExtendedAdvertisingData> for Bytes
impl From<LeSetExtendedAdvertisingData> for Bytes
Source§fn from(packet: LeSetExtendedAdvertisingData) -> Self
fn from(packet: LeSetExtendedAdvertisingData) -> Self
Converts to this type from the input type.
Source§impl From<LeSetExtendedAdvertisingData> for Command
impl From<LeSetExtendedAdvertisingData> for Command
Source§fn from(packet: LeSetExtendedAdvertisingData) -> Command
fn from(packet: LeSetExtendedAdvertisingData) -> Command
Converts to this type from the input type.
Source§impl From<LeSetExtendedAdvertisingData> for Vec<u8>
impl From<LeSetExtendedAdvertisingData> for Vec<u8>
Source§fn from(packet: LeSetExtendedAdvertisingData) -> Self
fn from(packet: LeSetExtendedAdvertisingData) -> Self
Converts to this type from the input type.
Source§impl From<LeSetExtendedAdvertisingDataBuilder> for LeSetExtendedAdvertisingData
impl From<LeSetExtendedAdvertisingDataBuilder> for LeSetExtendedAdvertisingData
Source§fn from(
builder: LeSetExtendedAdvertisingDataBuilder,
) -> LeSetExtendedAdvertisingData
fn from( builder: LeSetExtendedAdvertisingDataBuilder, ) -> LeSetExtendedAdvertisingData
Converts to this type from the input type.
Source§impl PartialEq for LeSetExtendedAdvertisingData
impl PartialEq for LeSetExtendedAdvertisingData
Source§fn eq(&self, other: &LeSetExtendedAdvertisingData) -> bool
fn eq(&self, other: &LeSetExtendedAdvertisingData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeSetExtendedAdvertisingData
impl StructuralPartialEq for LeSetExtendedAdvertisingData
Auto Trait Implementations§
impl !Freeze for LeSetExtendedAdvertisingData
impl RefUnwindSafe for LeSetExtendedAdvertisingData
impl Send for LeSetExtendedAdvertisingData
impl Sync for LeSetExtendedAdvertisingData
impl Unpin for LeSetExtendedAdvertisingData
impl UnwindSafe for LeSetExtendedAdvertisingData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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