pub struct L2CapCocFlowControl {
pub channel_index: u8,
pub credits: u16,
}
Expand description
This event is generated when receiving a valid Flow Control Credit signaling packet.
See Bluetooth spec. v.5.4 [Vol 3, Part A].
Fields§
§channel_index: u8
Index of the connection-oriented channel for which the primitive applies.
credits: u16
Number of credits the receiving device can increment, corresponding to the number of K-frames that can be sent to the peer device sending Flow Control Credit packet.
Values:
- 0 .. 65535
Trait Implementations§
Source§impl Clone for L2CapCocFlowControl
impl Clone for L2CapCocFlowControl
Source§fn clone(&self) -> L2CapCocFlowControl
fn clone(&self) -> L2CapCocFlowControl
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 Debug for L2CapCocFlowControl
impl Debug for L2CapCocFlowControl
impl Copy for L2CapCocFlowControl
Auto Trait Implementations§
impl Freeze for L2CapCocFlowControl
impl RefUnwindSafe for L2CapCocFlowControl
impl Send for L2CapCocFlowControl
impl Sync for L2CapCocFlowControl
impl Unpin for L2CapCocFlowControl
impl UnwindSafe for L2CapCocFlowControl
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