pub struct LeSetHostChannelClassification(/* private fields */);
Expand description
LE Set Host Channel Classification command ๐
Implementationsยง
Sourceยงimpl LeSetHostChannelClassification
impl LeSetHostChannelClassification
Sourcepub fn new(param: ChannelMap) -> Self
pub fn new(param: ChannelMap) -> Self
Create a new instance of the command with the provided parameters.
Trait Implementationsยง
Sourceยงimpl Clone for LeSetHostChannelClassification
impl Clone for LeSetHostChannelClassification
Sourceยงfn clone(&self) -> LeSetHostChannelClassification
fn clone(&self) -> LeSetHostChannelClassification
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 From<ChannelMap> for LeSetHostChannelClassification
impl From<ChannelMap> for LeSetHostChannelClassification
Sourceยงfn from(params: ChannelMap) -> Self
fn from(params: ChannelMap) -> Self
Converts to this type from the input type.
Sourceยงimpl Ord for LeSetHostChannelClassification
impl Ord for LeSetHostChannelClassification
Sourceยงfn cmp(&self, other: &LeSetHostChannelClassification) -> Ordering
fn cmp(&self, other: &LeSetHostChannelClassification) -> 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 LeSetHostChannelClassification
impl PartialEq for LeSetHostChannelClassification
Sourceยงfn eq(&self, other: &LeSetHostChannelClassification) -> bool
fn eq(&self, other: &LeSetHostChannelClassification) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl PartialOrd for LeSetHostChannelClassification
impl PartialOrd for LeSetHostChannelClassification
Sourceยงimpl SyncCmd for LeSetHostChannelClassification
impl SyncCmd for LeSetHostChannelClassification
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 LeSetHostChannelClassification
impl WriteHci for LeSetHostChannelClassification
impl Copy for LeSetHostChannelClassification
impl Eq for LeSetHostChannelClassification
impl StructuralPartialEq for LeSetHostChannelClassification
Auto Trait Implementationsยง
impl Freeze for LeSetHostChannelClassification
impl RefUnwindSafe for LeSetHostChannelClassification
impl Send for LeSetHostChannelClassification
impl Sync for LeSetHostChannelClassification
impl Unpin for LeSetHostChannelClassification
impl UnwindSafe for LeSetHostChannelClassification
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.