pub struct LeSetHostFeature(/* private fields */);
Expand description
LE Set Host Feature command ๐
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for LeSetHostFeature
impl Clone for LeSetHostFeature
Sourceยงfn clone(&self) -> LeSetHostFeature
fn clone(&self) -> LeSetHostFeature
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 LeSetHostFeature
impl Cmd for LeSetHostFeature
Sourceยงtype Params = LeSetHostFeatureParams
type Params = LeSetHostFeatureParams
Parameters type for this command.
Sourceยงfn params(&self) -> &LeSetHostFeatureParams
fn params(&self) -> &LeSetHostFeatureParams
Parameters expected for this command.
Sourceยงimpl Debug for LeSetHostFeature
impl Debug for LeSetHostFeature
Sourceยงimpl From<LeSetHostFeatureParams> for LeSetHostFeature
impl From<LeSetHostFeatureParams> for LeSetHostFeature
Sourceยงfn from(params: LeSetHostFeatureParams) -> Self
fn from(params: LeSetHostFeatureParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for LeSetHostFeature
impl Hash for LeSetHostFeature
Sourceยงimpl Ord for LeSetHostFeature
impl Ord for LeSetHostFeature
Sourceยงfn cmp(&self, other: &LeSetHostFeature) -> Ordering
fn cmp(&self, other: &LeSetHostFeature) -> 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 LeSetHostFeature
impl PartialEq for LeSetHostFeature
Sourceยงimpl PartialOrd for LeSetHostFeature
impl PartialOrd for LeSetHostFeature
Sourceยงimpl SyncCmd for LeSetHostFeature
impl SyncCmd for LeSetHostFeature
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 LeSetHostFeature
impl WriteHci for LeSetHostFeature
impl Copy for LeSetHostFeature
impl Eq for LeSetHostFeature
impl StructuralPartialEq for LeSetHostFeature
Auto Trait Implementationsยง
impl Freeze for LeSetHostFeature
impl RefUnwindSafe for LeSetHostFeature
impl Send for LeSetHostFeature
impl Sync for LeSetHostFeature
impl Unpin for LeSetHostFeature
impl UnwindSafe for LeSetHostFeature
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.