pub struct AuthenticationRequested(/* private fields */);
Expand description
Authentication Requested command ๐
Initiates authentication (pairing) for the given connection handle.
Implementationsยง
Sourceยงimpl AuthenticationRequested
impl AuthenticationRequested
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 AuthenticationRequested
impl Clone for AuthenticationRequested
Sourceยงfn clone(&self) -> AuthenticationRequested
fn clone(&self) -> AuthenticationRequested
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 AuthenticationRequested
impl Cmd for AuthenticationRequested
Sourceยงimpl Debug for AuthenticationRequested
impl Debug for AuthenticationRequested
Sourceยงimpl From<ConnHandle> for AuthenticationRequested
impl From<ConnHandle> for AuthenticationRequested
Sourceยงfn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for AuthenticationRequested
impl Hash for AuthenticationRequested
Sourceยงimpl Ord for AuthenticationRequested
impl Ord for AuthenticationRequested
Sourceยงfn cmp(&self, other: &AuthenticationRequested) -> Ordering
fn cmp(&self, other: &AuthenticationRequested) -> 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 AuthenticationRequested
impl PartialEq for AuthenticationRequested
Sourceยงimpl PartialOrd for AuthenticationRequested
impl PartialOrd for AuthenticationRequested
Sourceยงimpl SyncCmd for AuthenticationRequested
impl SyncCmd for AuthenticationRequested
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 AuthenticationRequested
impl WriteHci for AuthenticationRequested
impl Copy for AuthenticationRequested
impl Eq for AuthenticationRequested
impl StructuralPartialEq for AuthenticationRequested
Auto Trait Implementationsยง
impl Freeze for AuthenticationRequested
impl RefUnwindSafe for AuthenticationRequested
impl Send for AuthenticationRequested
impl Sync for AuthenticationRequested
impl Unpin for AuthenticationRequested
impl UnwindSafe for AuthenticationRequested
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.