pub struct LeSetPeriodicAdvResponseDataParams<'a> {
pub adv_handle: SyncHandle,
pub request_event: u16,
pub request_subevent: u8,
pub response_subevent: u8,
pub response_slot: u8,
pub response_data: &'a [u8],
}
Expand description
Parameters for LE Set Periodic Advertising Response Data command ๐ LeSetPeriodicAdvResponseDataParams parameter
Fieldsยง
ยงadv_handle: SyncHandle
ยงrequest_event: u16
ยงrequest_subevent: u8
ยงresponse_subevent: u8
ยงresponse_slot: u8
ยงresponse_data: &'a [u8]
Trait Implementationsยง
Sourceยงimpl<'a> Clone for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> Clone for LeSetPeriodicAdvResponseDataParams<'a>
Sourceยงfn clone(&self) -> LeSetPeriodicAdvResponseDataParams<'a>
fn clone(&self) -> LeSetPeriodicAdvResponseDataParams<'a>
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<'a> Debug for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> Debug for LeSetPeriodicAdvResponseDataParams<'a>
Sourceยงimpl<'a> Default for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> Default for LeSetPeriodicAdvResponseDataParams<'a>
Sourceยงfn default() -> LeSetPeriodicAdvResponseDataParams<'a>
fn default() -> LeSetPeriodicAdvResponseDataParams<'a>
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl<'a> From<LeSetPeriodicAdvResponseDataParams<'a>> for LeSetPeriodicAdvResponseData<'a>
impl<'a> From<LeSetPeriodicAdvResponseDataParams<'a>> for LeSetPeriodicAdvResponseData<'a>
Sourceยงfn from(params: LeSetPeriodicAdvResponseDataParams<'a>) -> Self
fn from(params: LeSetPeriodicAdvResponseDataParams<'a>) -> Self
Converts to this type from the input type.
Sourceยงimpl<'a, 'de> FromHciBytes<'de> for LeSetPeriodicAdvResponseDataParams<'a>where
'de: 'a,
'a: 'de,
impl<'a, 'de> FromHciBytes<'de> for LeSetPeriodicAdvResponseDataParams<'a>where
'de: 'a,
'a: '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<'a> Hash for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> Hash for LeSetPeriodicAdvResponseDataParams<'a>
Sourceยงimpl<'a> Ord for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> Ord for LeSetPeriodicAdvResponseDataParams<'a>
Sourceยงfn cmp(&self, other: &LeSetPeriodicAdvResponseDataParams<'a>) -> Ordering
fn cmp(&self, other: &LeSetPeriodicAdvResponseDataParams<'a>) -> 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<'a> PartialEq for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> PartialEq for LeSetPeriodicAdvResponseDataParams<'a>
Sourceยงfn eq(&self, other: &LeSetPeriodicAdvResponseDataParams<'a>) -> bool
fn eq(&self, other: &LeSetPeriodicAdvResponseDataParams<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl<'a> PartialOrd for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> PartialOrd for LeSetPeriodicAdvResponseDataParams<'a>
Sourceยงimpl<'a> WriteHci for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> WriteHci for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> Copy for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> Eq for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> StructuralPartialEq for LeSetPeriodicAdvResponseDataParams<'a>
Auto Trait Implementationsยง
impl<'a> Freeze for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> RefUnwindSafe for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> Send for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> Sync for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> Unpin for LeSetPeriodicAdvResponseDataParams<'a>
impl<'a> UnwindSafe for LeSetPeriodicAdvResponseDataParams<'a>
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