pub struct IoCapabilityRequestReply(/* private fields */);
Expand description
IO Capability Request Reply command ๐
Reply to an IO Capability Request event with the current I/O capabilities of the Host.
Implementationsยง
Sourceยงimpl IoCapabilityRequestReply
impl IoCapabilityRequestReply
Sourcepub fn new(
bd_addr: BdAddr,
io_capability: IoCapability,
oob_data_present: OobDataPresent,
authentication_requirements: AuthenticationRequirements,
) -> Self
pub fn new( bd_addr: BdAddr, io_capability: IoCapability, oob_data_present: OobDataPresent, authentication_requirements: AuthenticationRequirements, ) -> Self
Create a new instance of a command.
Trait Implementationsยง
Sourceยงimpl Clone for IoCapabilityRequestReply
impl Clone for IoCapabilityRequestReply
Sourceยงfn clone(&self) -> IoCapabilityRequestReply
fn clone(&self) -> IoCapabilityRequestReply
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 IoCapabilityRequestReply
impl Cmd for IoCapabilityRequestReply
Sourceยงtype Params = IoCapabilityRequestReplyParams
type Params = IoCapabilityRequestReplyParams
Parameters type for this command.
Sourceยงfn params(&self) -> &IoCapabilityRequestReplyParams
fn params(&self) -> &IoCapabilityRequestReplyParams
Parameters expected for this command.
Sourceยงimpl Debug for IoCapabilityRequestReply
impl Debug for IoCapabilityRequestReply
Sourceยงimpl From<IoCapabilityRequestReplyParams> for IoCapabilityRequestReply
impl From<IoCapabilityRequestReplyParams> for IoCapabilityRequestReply
Sourceยงfn from(params: IoCapabilityRequestReplyParams) -> Self
fn from(params: IoCapabilityRequestReplyParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for IoCapabilityRequestReply
impl Hash for IoCapabilityRequestReply
Sourceยงimpl Ord for IoCapabilityRequestReply
impl Ord for IoCapabilityRequestReply
Sourceยงfn cmp(&self, other: &IoCapabilityRequestReply) -> Ordering
fn cmp(&self, other: &IoCapabilityRequestReply) -> 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 PartialOrd for IoCapabilityRequestReply
impl PartialOrd for IoCapabilityRequestReply
Sourceยงimpl SyncCmd for IoCapabilityRequestReply
impl SyncCmd for IoCapabilityRequestReply
Sourceยงtype Return = BdAddr
type Return = BdAddr
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 IoCapabilityRequestReply
impl WriteHci for IoCapabilityRequestReply
impl Copy for IoCapabilityRequestReply
impl Eq for IoCapabilityRequestReply
impl StructuralPartialEq for IoCapabilityRequestReply
Auto Trait Implementationsยง
impl Freeze for IoCapabilityRequestReply
impl RefUnwindSafe for IoCapabilityRequestReply
impl Send for IoCapabilityRequestReply
impl Sync for IoCapabilityRequestReply
impl Unpin for IoCapabilityRequestReply
impl UnwindSafe for IoCapabilityRequestReply
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.