pub struct LeReadSuggestedDefaultDataLength(/* private fields */);
Expand description
LE Read Suggested Default Data Length command ๐
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for LeReadSuggestedDefaultDataLength
impl Clone for LeReadSuggestedDefaultDataLength
Sourceยงfn clone(&self) -> LeReadSuggestedDefaultDataLength
fn clone(&self) -> LeReadSuggestedDefaultDataLength
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 From<()> for LeReadSuggestedDefaultDataLength
impl From<()> for LeReadSuggestedDefaultDataLength
Sourceยงimpl Ord for LeReadSuggestedDefaultDataLength
impl Ord for LeReadSuggestedDefaultDataLength
Sourceยงfn cmp(&self, other: &LeReadSuggestedDefaultDataLength) -> Ordering
fn cmp(&self, other: &LeReadSuggestedDefaultDataLength) -> 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 PartialEq for LeReadSuggestedDefaultDataLength
impl PartialEq for LeReadSuggestedDefaultDataLength
Sourceยงfn eq(&self, other: &LeReadSuggestedDefaultDataLength) -> bool
fn eq(&self, other: &LeReadSuggestedDefaultDataLength) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl PartialOrd for LeReadSuggestedDefaultDataLength
impl PartialOrd for LeReadSuggestedDefaultDataLength
Sourceยงimpl SyncCmd for LeReadSuggestedDefaultDataLength
impl SyncCmd for LeReadSuggestedDefaultDataLength
Sourceยงtype Return = LeReadSuggestedDefaultDataLengthReturn
type Return = LeReadSuggestedDefaultDataLengthReturn
The type of the parameters for the
CommandComplete
eventSourceยงfn param_handle(&self)
fn param_handle(&self)
Handle parameter for this command.
Sourceยงfn return_handle(_data: &[u8]) -> Result<Self::Handle, FromHciBytesError>
fn return_handle(_data: &[u8]) -> Result<Self::Handle, FromHciBytesError>
Extracts the
Self::Handle
from the return parameters for commands that return a handle. Read moreSourceยงimpl WriteHci for LeReadSuggestedDefaultDataLength
impl WriteHci for LeReadSuggestedDefaultDataLength
impl Copy for LeReadSuggestedDefaultDataLength
impl Eq for LeReadSuggestedDefaultDataLength
impl StructuralPartialEq for LeReadSuggestedDefaultDataLength
Auto Trait Implementationsยง
impl Freeze for LeReadSuggestedDefaultDataLength
impl RefUnwindSafe for LeReadSuggestedDefaultDataLength
impl Send for LeReadSuggestedDefaultDataLength
impl Sync for LeReadSuggestedDefaultDataLength
impl Unpin for LeReadSuggestedDefaultDataLength
impl UnwindSafe for LeReadSuggestedDefaultDataLength
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> HostToControllerPacket for Twhere
T: Cmd,
impl<T> HostToControllerPacket for Twhere
T: Cmd,
Sourceยงconst KIND: PacketKind = const KIND: PacketKind = PacketKind::Cmd;
const KIND: PacketKind = const KIND: PacketKind = PacketKind::Cmd;
Packet kind associated with this HCI packet.