pub struct LeSetConnCteTransmitParams<'a>(/* private fields */);
Expand description
LE Set Connection CTE Transmit Parameters command ๐
Implementationsยง
Sourceยงimpl<'a> LeSetConnCteTransmitParams<'a>
impl<'a> LeSetConnCteTransmitParams<'a>
Sourcepub fn new(
handle: ConnHandle,
cte_kinds: CteMask,
switching_pattern: &'a [u8],
) -> Self
pub fn new( handle: ConnHandle, cte_kinds: CteMask, switching_pattern: &'a [u8], ) -> Self
Create a new instance of a command.
Trait Implementationsยง
Sourceยงimpl<'a> Clone for LeSetConnCteTransmitParams<'a>
impl<'a> Clone for LeSetConnCteTransmitParams<'a>
Sourceยงfn clone(&self) -> LeSetConnCteTransmitParams<'a>
fn clone(&self) -> LeSetConnCteTransmitParams<'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> Cmd for LeSetConnCteTransmitParams<'a>
impl<'a> Cmd for LeSetConnCteTransmitParams<'a>
Sourceยงtype Params = LeSetConnCteTransmitParamsParams<'a>
type Params = LeSetConnCteTransmitParamsParams<'a>
Parameters type for this command.
Sourceยงfn params(&self) -> &LeSetConnCteTransmitParamsParams<'a>
fn params(&self) -> &LeSetConnCteTransmitParamsParams<'a>
Parameters expected for this command.
Sourceยงimpl<'a> Debug for LeSetConnCteTransmitParams<'a>
impl<'a> Debug for LeSetConnCteTransmitParams<'a>
Sourceยงimpl<'a> From<LeSetConnCteTransmitParamsParams<'a>> for LeSetConnCteTransmitParams<'a>
impl<'a> From<LeSetConnCteTransmitParamsParams<'a>> for LeSetConnCteTransmitParams<'a>
Sourceยงfn from(params: LeSetConnCteTransmitParamsParams<'a>) -> Self
fn from(params: LeSetConnCteTransmitParamsParams<'a>) -> Self
Converts to this type from the input type.
Sourceยงimpl<'a> Hash for LeSetConnCteTransmitParams<'a>
impl<'a> Hash for LeSetConnCteTransmitParams<'a>
Sourceยงimpl<'a> Ord for LeSetConnCteTransmitParams<'a>
impl<'a> Ord for LeSetConnCteTransmitParams<'a>
Sourceยงfn cmp(&self, other: &LeSetConnCteTransmitParams<'a>) -> Ordering
fn cmp(&self, other: &LeSetConnCteTransmitParams<'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 LeSetConnCteTransmitParams<'a>
impl<'a> PartialEq for LeSetConnCteTransmitParams<'a>
Sourceยงfn eq(&self, other: &LeSetConnCteTransmitParams<'a>) -> bool
fn eq(&self, other: &LeSetConnCteTransmitParams<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl<'a> PartialOrd for LeSetConnCteTransmitParams<'a>
impl<'a> PartialOrd for LeSetConnCteTransmitParams<'a>
Sourceยงimpl<'a> SyncCmd for LeSetConnCteTransmitParams<'a>
impl<'a> SyncCmd for LeSetConnCteTransmitParams<'a>
Sourceยงtype Return = ConnHandle
type Return = ConnHandle
The type of the parameters for the
CommandComplete
eventSourceยงtype Handle = ConnHandle
type Handle = ConnHandle
Handle returned by this command.
Sourceยงfn param_handle(&self) -> Self::Handle
fn param_handle(&self) -> Self::Handle
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<'a> WriteHci for LeSetConnCteTransmitParams<'a>
impl<'a> WriteHci for LeSetConnCteTransmitParams<'a>
impl<'a> Copy for LeSetConnCteTransmitParams<'a>
impl<'a> Eq for LeSetConnCteTransmitParams<'a>
impl<'a> StructuralPartialEq for LeSetConnCteTransmitParams<'a>
Auto Trait Implementationsยง
impl<'a> Freeze for LeSetConnCteTransmitParams<'a>
impl<'a> RefUnwindSafe for LeSetConnCteTransmitParams<'a>
impl<'a> Send for LeSetConnCteTransmitParams<'a>
impl<'a> Sync for LeSetConnCteTransmitParams<'a>
impl<'a> Unpin for LeSetConnCteTransmitParams<'a>
impl<'a> UnwindSafe for LeSetConnCteTransmitParams<'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
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.