pub struct LeSetExtAdvDataParams<'d> {
pub adv_handle: AdvHandle,
pub operation: Operation,
pub fragment_preference: bool,
pub adv_data: &'d [u8],
}
Expand description
Parameters for LE Set Extended Advertising Data command ๐ LeSetExtAdvDataParams parameter
Fieldsยง
ยงadv_handle: AdvHandle
ยงoperation: Operation
ยงfragment_preference: bool
ยงadv_data: &'d [u8]
Trait Implementationsยง
Sourceยงimpl<'d> Clone for LeSetExtAdvDataParams<'d>
impl<'d> Clone for LeSetExtAdvDataParams<'d>
Sourceยงfn clone(&self) -> LeSetExtAdvDataParams<'d>
fn clone(&self) -> LeSetExtAdvDataParams<'d>
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<'d> Debug for LeSetExtAdvDataParams<'d>
impl<'d> Debug for LeSetExtAdvDataParams<'d>
Sourceยงimpl<'d> Default for LeSetExtAdvDataParams<'d>
impl<'d> Default for LeSetExtAdvDataParams<'d>
Sourceยงfn default() -> LeSetExtAdvDataParams<'d>
fn default() -> LeSetExtAdvDataParams<'d>
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl<'d> From<LeSetExtAdvDataParams<'d>> for LeSetExtAdvData<'d>
impl<'d> From<LeSetExtAdvDataParams<'d>> for LeSetExtAdvData<'d>
Sourceยงfn from(params: LeSetExtAdvDataParams<'d>) -> Self
fn from(params: LeSetExtAdvDataParams<'d>) -> Self
Converts to this type from the input type.
Sourceยงimpl<'d, 'de> FromHciBytes<'de> for LeSetExtAdvDataParams<'d>where
'de: 'd,
'd: 'de,
impl<'d, 'de> FromHciBytes<'de> for LeSetExtAdvDataParams<'d>where
'de: 'd,
'd: 'de,
Sourceยงfn from_hci_bytes(
data: &'de [u8],
) -> Result<(Self, &'de [u8]), FromHciBytesError>
fn from_hci_bytes( data: &'de [u8], ) -> Result<(Self, &'de [u8]), FromHciBytesError>
Deserialize bytes into a HCI type, return additional bytes.
Sourceยงfn from_hci_bytes_complete(data: &'de [u8]) -> Result<Self, FromHciBytesError>
fn from_hci_bytes_complete(data: &'de [u8]) -> Result<Self, FromHciBytesError>
Deserialize bytes into a HCI type, must consume all bytes.
Sourceยงimpl<'d> Hash for LeSetExtAdvDataParams<'d>
impl<'d> Hash for LeSetExtAdvDataParams<'d>
Sourceยงimpl<'d> Ord for LeSetExtAdvDataParams<'d>
impl<'d> Ord for LeSetExtAdvDataParams<'d>
Sourceยงfn cmp(&self, other: &LeSetExtAdvDataParams<'d>) -> Ordering
fn cmp(&self, other: &LeSetExtAdvDataParams<'d>) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl<'d> PartialEq for LeSetExtAdvDataParams<'d>
impl<'d> PartialEq for LeSetExtAdvDataParams<'d>
Sourceยงfn eq(&self, other: &LeSetExtAdvDataParams<'d>) -> bool
fn eq(&self, other: &LeSetExtAdvDataParams<'d>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl<'d> PartialOrd for LeSetExtAdvDataParams<'d>
impl<'d> PartialOrd for LeSetExtAdvDataParams<'d>
Sourceยงimpl<'d> WriteHci for LeSetExtAdvDataParams<'d>
impl<'d> WriteHci for LeSetExtAdvDataParams<'d>
impl<'d> Copy for LeSetExtAdvDataParams<'d>
impl<'d> Eq for LeSetExtAdvDataParams<'d>
impl<'d> StructuralPartialEq for LeSetExtAdvDataParams<'d>
Auto Trait Implementationsยง
impl<'d> Freeze for LeSetExtAdvDataParams<'d>
impl<'d> RefUnwindSafe for LeSetExtAdvDataParams<'d>
impl<'d> Send for LeSetExtAdvDataParams<'d>
impl<'d> Sync for LeSetExtAdvDataParams<'d>
impl<'d> Unpin for LeSetExtAdvDataParams<'d>
impl<'d> UnwindSafe for LeSetExtAdvDataParams<'d>
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