pub struct L2capChannelConfig {
pub mtu: u16,
pub flow_policy: CreditFlowPolicy,
pub initial_credits: Option<u16>,
}
Expand description
Configuration for an L2CAP channel.
Fields§
§mtu: u16
Size of Service Data Unit
flow_policy: CreditFlowPolicy
Flow control policy for connection oriented channels.
initial_credits: Option<u16>
Initial credits for connection oriented channels.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for L2capChannelConfig
impl RefUnwindSafe for L2capChannelConfig
impl Send for L2capChannelConfig
impl Sync for L2capChannelConfig
impl Unpin for L2capChannelConfig
impl UnwindSafe for L2capChannelConfig
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