pub struct ReadRemoteSupportedFeatures(/* private fields */);
Expand description
Read Remote Supported Features command ๐
Requests the supported features from a remote device.
Implementationsยง
Sourceยงimpl ReadRemoteSupportedFeatures
impl ReadRemoteSupportedFeatures
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 ReadRemoteSupportedFeatures
impl Clone for ReadRemoteSupportedFeatures
Sourceยงfn clone(&self) -> ReadRemoteSupportedFeatures
fn clone(&self) -> ReadRemoteSupportedFeatures
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 ReadRemoteSupportedFeatures
impl Cmd for ReadRemoteSupportedFeatures
Sourceยงimpl Debug for ReadRemoteSupportedFeatures
impl Debug for ReadRemoteSupportedFeatures
Sourceยงimpl From<ConnHandle> for ReadRemoteSupportedFeatures
impl From<ConnHandle> for ReadRemoteSupportedFeatures
Sourceยงfn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for ReadRemoteSupportedFeatures
impl Hash for ReadRemoteSupportedFeatures
Sourceยงimpl Ord for ReadRemoteSupportedFeatures
impl Ord for ReadRemoteSupportedFeatures
Sourceยงfn cmp(&self, other: &ReadRemoteSupportedFeatures) -> Ordering
fn cmp(&self, other: &ReadRemoteSupportedFeatures) -> 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 ReadRemoteSupportedFeatures
impl PartialEq for ReadRemoteSupportedFeatures
Sourceยงfn eq(&self, other: &ReadRemoteSupportedFeatures) -> bool
fn eq(&self, other: &ReadRemoteSupportedFeatures) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl PartialOrd for ReadRemoteSupportedFeatures
impl PartialOrd for ReadRemoteSupportedFeatures
Sourceยงimpl SyncCmd for ReadRemoteSupportedFeatures
impl SyncCmd for ReadRemoteSupportedFeatures
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 ReadRemoteSupportedFeatures
impl WriteHci for ReadRemoteSupportedFeatures
impl Copy for ReadRemoteSupportedFeatures
impl Eq for ReadRemoteSupportedFeatures
impl StructuralPartialEq for ReadRemoteSupportedFeatures
Auto Trait Implementationsยง
impl Freeze for ReadRemoteSupportedFeatures
impl RefUnwindSafe for ReadRemoteSupportedFeatures
impl Send for ReadRemoteSupportedFeatures
impl Sync for ReadRemoteSupportedFeatures
impl Unpin for ReadRemoteSupportedFeatures
impl UnwindSafe for ReadRemoteSupportedFeatures
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.