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