pub struct RfcommChannel {
pub dlci: u8,
pub state: ChannelState,
pub flow_control: CreditFlowControl,
pub mtu: u16,
pub l2cap_cid: u16,
pub modem_signals: ModemSignals,
pub priority: u8,
}Expand description
An RFCOMM data channel (one per DLCI)
Fields§
§dlci: u8Data Link Connection Identifier (1-30)
state: ChannelStateCurrent channel state
flow_control: CreditFlowControlCredit-based flow control
mtu: u16Negotiated MTU (N1 parameter)
l2cap_cid: u16Underlying L2CAP channel ID
modem_signals: ModemSignalsModem signals
priority: u8Channel priority (0-63)
Implementations§
Trait Implementations§
Source§impl Clone for RfcommChannel
impl Clone for RfcommChannel
Source§fn clone(&self) -> RfcommChannel
fn clone(&self) -> RfcommChannel
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RfcommChannel
impl RefUnwindSafe for RfcommChannel
impl Send for RfcommChannel
impl Sync for RfcommChannel
impl Unpin for RfcommChannel
impl UnwindSafe for RfcommChannel
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)