#[repr(u8)]pub enum FlowControl {
Off = 0,
HciAclDataOnly = 1,
HciSyncDataOnly = 2,
Both = 3,
}
Expand description
For the set_controller_to_host_flow_control command, the allowed values for flow control.
See Bluetooth spec. v.5.4 [Vol 4, Part E, 7.3.38].
Variants§
Off = 0
Flow control off in direction from controller to host. default
HciAclDataOnly = 1
Flow control on for HCI ACL Data Packets and off for HCI synchronous. Data Packets in direction from Controller to Host.
HciSyncDataOnly = 2
Flow control off for HCI ACL Data Packets and on for HCI synchronous. Data Packets in direction from Controller to Host.
Both = 3
control on both for HCI ACL Data Packets and HCI synchronous. Data Packets in direction from Controller to Host.
Trait Implementations§
Source§impl Clone for FlowControl
impl Clone for FlowControl
Source§fn clone(&self) -> FlowControl
fn clone(&self) -> FlowControl
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 Debug for FlowControl
impl Debug for FlowControl
Source§impl Default for FlowControl
impl Default for FlowControl
Source§fn default() -> FlowControl
fn default() -> FlowControl
Returns the “default value” for a type. Read more
Source§impl PartialEq for FlowControl
impl PartialEq for FlowControl
impl Copy for FlowControl
impl StructuralPartialEq for FlowControl
Auto Trait Implementations§
impl Freeze for FlowControl
impl RefUnwindSafe for FlowControl
impl Send for FlowControl
impl Sync for FlowControl
impl Unpin for FlowControl
impl UnwindSafe for FlowControl
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