pub struct WriteAuthenticatedPayloadTimeout(/* private fields */);
Expand description
Write Authenticated Payload Timeout command ๐
Implementationsยง
Sourceยงimpl WriteAuthenticatedPayloadTimeout
impl WriteAuthenticatedPayloadTimeout
Sourcepub fn new(handle: ConnHandle, timeout: Duration<10_000>) -> Self
pub fn new(handle: ConnHandle, timeout: Duration<10_000>) -> Self
Create a new instance of a command.
Trait Implementationsยง
Sourceยงimpl Clone for WriteAuthenticatedPayloadTimeout
impl Clone for WriteAuthenticatedPayloadTimeout
Sourceยงfn clone(&self) -> WriteAuthenticatedPayloadTimeout
fn clone(&self) -> WriteAuthenticatedPayloadTimeout
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 WriteAuthenticatedPayloadTimeout
impl Cmd for WriteAuthenticatedPayloadTimeout
Sourceยงtype Params = WriteAuthenticatedPayloadTimeoutParams
type Params = WriteAuthenticatedPayloadTimeoutParams
Parameters type for this command.
Sourceยงfn params(&self) -> &WriteAuthenticatedPayloadTimeoutParams
fn params(&self) -> &WriteAuthenticatedPayloadTimeoutParams
Parameters expected for this command.
Sourceยงimpl From<WriteAuthenticatedPayloadTimeoutParams> for WriteAuthenticatedPayloadTimeout
impl From<WriteAuthenticatedPayloadTimeoutParams> for WriteAuthenticatedPayloadTimeout
Sourceยงfn from(params: WriteAuthenticatedPayloadTimeoutParams) -> Self
fn from(params: WriteAuthenticatedPayloadTimeoutParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Ord for WriteAuthenticatedPayloadTimeout
impl Ord for WriteAuthenticatedPayloadTimeout
Sourceยงfn cmp(&self, other: &WriteAuthenticatedPayloadTimeout) -> Ordering
fn cmp(&self, other: &WriteAuthenticatedPayloadTimeout) -> 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 WriteAuthenticatedPayloadTimeout
impl PartialEq for WriteAuthenticatedPayloadTimeout
Sourceยงfn eq(&self, other: &WriteAuthenticatedPayloadTimeout) -> bool
fn eq(&self, other: &WriteAuthenticatedPayloadTimeout) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl PartialOrd for WriteAuthenticatedPayloadTimeout
impl PartialOrd for WriteAuthenticatedPayloadTimeout
Sourceยงimpl SyncCmd for WriteAuthenticatedPayloadTimeout
impl SyncCmd for WriteAuthenticatedPayloadTimeout
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 WriteHci for WriteAuthenticatedPayloadTimeout
impl WriteHci for WriteAuthenticatedPayloadTimeout
impl Copy for WriteAuthenticatedPayloadTimeout
impl Eq for WriteAuthenticatedPayloadTimeout
impl StructuralPartialEq for WriteAuthenticatedPayloadTimeout
Auto Trait Implementationsยง
impl Freeze for WriteAuthenticatedPayloadTimeout
impl RefUnwindSafe for WriteAuthenticatedPayloadTimeout
impl Send for WriteAuthenticatedPayloadTimeout
impl Sync for WriteAuthenticatedPayloadTimeout
impl Unpin for WriteAuthenticatedPayloadTimeout
impl UnwindSafe for WriteAuthenticatedPayloadTimeout
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.