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