pub struct ReceiveSynchronizationTrain(/* private fields */);
Expand description
Receive Synchronization Train command ๐
Used to begin listening for the synchronization train from the device with the specified BD_ADDR.
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for ReceiveSynchronizationTrain
impl Clone for ReceiveSynchronizationTrain
Sourceยงfn clone(&self) -> ReceiveSynchronizationTrain
fn clone(&self) -> ReceiveSynchronizationTrain
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 ReceiveSynchronizationTrain
impl Cmd for ReceiveSynchronizationTrain
Sourceยงtype Params = ReceiveSynchronizationTrainParams
type Params = ReceiveSynchronizationTrainParams
Parameters type for this command.
Sourceยงfn params(&self) -> &ReceiveSynchronizationTrainParams
fn params(&self) -> &ReceiveSynchronizationTrainParams
Parameters expected for this command.
Sourceยงimpl Debug for ReceiveSynchronizationTrain
impl Debug for ReceiveSynchronizationTrain
Sourceยงimpl From<ReceiveSynchronizationTrainParams> for ReceiveSynchronizationTrain
impl From<ReceiveSynchronizationTrainParams> for ReceiveSynchronizationTrain
Sourceยงfn from(params: ReceiveSynchronizationTrainParams) -> Self
fn from(params: ReceiveSynchronizationTrainParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for ReceiveSynchronizationTrain
impl Hash for ReceiveSynchronizationTrain
Sourceยงimpl Ord for ReceiveSynchronizationTrain
impl Ord for ReceiveSynchronizationTrain
Sourceยงfn cmp(&self, other: &ReceiveSynchronizationTrain) -> Ordering
fn cmp(&self, other: &ReceiveSynchronizationTrain) -> 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 ReceiveSynchronizationTrain
impl PartialEq for ReceiveSynchronizationTrain
Sourceยงfn eq(&self, other: &ReceiveSynchronizationTrain) -> bool
fn eq(&self, other: &ReceiveSynchronizationTrain) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl PartialOrd for ReceiveSynchronizationTrain
impl PartialOrd for ReceiveSynchronizationTrain
Sourceยงimpl SyncCmd for ReceiveSynchronizationTrain
impl SyncCmd for ReceiveSynchronizationTrain
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 ReceiveSynchronizationTrain
impl WriteHci for ReceiveSynchronizationTrain
impl Copy for ReceiveSynchronizationTrain
impl Eq for ReceiveSynchronizationTrain
impl StructuralPartialEq for ReceiveSynchronizationTrain
Auto Trait Implementationsยง
impl Freeze for ReceiveSynchronizationTrain
impl RefUnwindSafe for ReceiveSynchronizationTrain
impl Send for ReceiveSynchronizationTrain
impl Sync for ReceiveSynchronizationTrain
impl Unpin for ReceiveSynchronizationTrain
impl UnwindSafe for ReceiveSynchronizationTrain
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.