pub struct LeWriteSuggestedDefaultDataLength(/* private fields */);
Expand description
LE Write Suggested Default Data Length command ๐
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for LeWriteSuggestedDefaultDataLength
impl Clone for LeWriteSuggestedDefaultDataLength
Sourceยงfn clone(&self) -> LeWriteSuggestedDefaultDataLength
fn clone(&self) -> LeWriteSuggestedDefaultDataLength
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 Cmd for LeWriteSuggestedDefaultDataLength
impl Cmd for LeWriteSuggestedDefaultDataLength
Sourceยงtype Params = LeWriteSuggestedDefaultDataLengthParams
type Params = LeWriteSuggestedDefaultDataLengthParams
Parameters type for this command.
Sourceยงfn params(&self) -> &LeWriteSuggestedDefaultDataLengthParams
fn params(&self) -> &LeWriteSuggestedDefaultDataLengthParams
Parameters expected for this command.
Sourceยงimpl From<LeWriteSuggestedDefaultDataLengthParams> for LeWriteSuggestedDefaultDataLength
impl From<LeWriteSuggestedDefaultDataLengthParams> for LeWriteSuggestedDefaultDataLength
Sourceยงfn from(params: LeWriteSuggestedDefaultDataLengthParams) -> Self
fn from(params: LeWriteSuggestedDefaultDataLengthParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Ord for LeWriteSuggestedDefaultDataLength
impl Ord for LeWriteSuggestedDefaultDataLength
Sourceยงfn cmp(&self, other: &LeWriteSuggestedDefaultDataLength) -> Ordering
fn cmp(&self, other: &LeWriteSuggestedDefaultDataLength) -> 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 LeWriteSuggestedDefaultDataLength
impl PartialEq for LeWriteSuggestedDefaultDataLength
Sourceยงfn eq(&self, other: &LeWriteSuggestedDefaultDataLength) -> bool
fn eq(&self, other: &LeWriteSuggestedDefaultDataLength) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl PartialOrd for LeWriteSuggestedDefaultDataLength
impl PartialOrd for LeWriteSuggestedDefaultDataLength
Sourceยงimpl SyncCmd for LeWriteSuggestedDefaultDataLength
impl SyncCmd for LeWriteSuggestedDefaultDataLength
Sourceยงtype Return = ()
type Return = ()
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 LeWriteSuggestedDefaultDataLength
impl WriteHci for LeWriteSuggestedDefaultDataLength
impl Copy for LeWriteSuggestedDefaultDataLength
impl Eq for LeWriteSuggestedDefaultDataLength
impl StructuralPartialEq for LeWriteSuggestedDefaultDataLength
Auto Trait Implementationsยง
impl Freeze for LeWriteSuggestedDefaultDataLength
impl RefUnwindSafe for LeWriteSuggestedDefaultDataLength
impl Send for LeWriteSuggestedDefaultDataLength
impl Sync for LeWriteSuggestedDefaultDataLength
impl Unpin for LeWriteSuggestedDefaultDataLength
impl UnwindSafe for LeWriteSuggestedDefaultDataLength
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.