pub struct ReadClockOffset(/* private fields */);
Expand description
Read Clock Offset command ๐
Reads the clock offset of a remote device.
Implementationsยง
Sourceยงimpl ReadClockOffset
impl ReadClockOffset
Sourcepub fn new(param: ConnHandle) -> Self
pub fn new(param: ConnHandle) -> Self
Create a new instance of the command with the provided parameters.
Trait Implementationsยง
Sourceยงimpl Clone for ReadClockOffset
impl Clone for ReadClockOffset
Sourceยงfn clone(&self) -> ReadClockOffset
fn clone(&self) -> ReadClockOffset
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 ReadClockOffset
impl Cmd for ReadClockOffset
Sourceยงimpl Debug for ReadClockOffset
impl Debug for ReadClockOffset
Sourceยงimpl From<ConnHandle> for ReadClockOffset
impl From<ConnHandle> for ReadClockOffset
Sourceยงfn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for ReadClockOffset
impl Hash for ReadClockOffset
Sourceยงimpl Ord for ReadClockOffset
impl Ord for ReadClockOffset
Sourceยงfn cmp(&self, other: &ReadClockOffset) -> Ordering
fn cmp(&self, other: &ReadClockOffset) -> 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 ReadClockOffset
impl PartialEq for ReadClockOffset
Sourceยงimpl PartialOrd for ReadClockOffset
impl PartialOrd for ReadClockOffset
Sourceยงimpl SyncCmd for ReadClockOffset
impl SyncCmd for ReadClockOffset
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 ReadClockOffset
impl WriteHci for ReadClockOffset
impl Copy for ReadClockOffset
impl Eq for ReadClockOffset
impl StructuralPartialEq for ReadClockOffset
Auto Trait Implementationsยง
impl Freeze for ReadClockOffset
impl RefUnwindSafe for ReadClockOffset
impl Send for ReadClockOffset
impl Sync for ReadClockOffset
impl Unpin for ReadClockOffset
impl UnwindSafe for ReadClockOffset
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.