#[repr(C)]pub struct ble_l2cap_chan_info {
pub scid: u16,
pub dcid: u16,
pub our_l2cap_mtu: u16,
pub peer_l2cap_mtu: u16,
pub psm: u16,
pub our_coc_mtu: u16,
pub peer_coc_mtu: u16,
}
Expand description
@brief Represents information about an L2CAP channel.
This structure is typically used to retrieve or provide information about an existing L2CAP channel.
Fields§
§scid: u16
Source Channel Identifier.
dcid: u16
Destination Channel Identifier.
our_l2cap_mtu: u16
Local L2CAP Maximum Transmission Unit.
peer_l2cap_mtu: u16
Peer L2CAP Maximum Transmission Unit.
psm: u16
Protocol/Service Multiplexer of the channel.
our_coc_mtu: u16
Local CoC Maximum Transmission Unit.
peer_coc_mtu: u16
Peer CoC Maximum Transmission Unit.
Trait Implementations§
Source§impl Clone for ble_l2cap_chan_info
impl Clone for ble_l2cap_chan_info
Source§fn clone(&self) -> ble_l2cap_chan_info
fn clone(&self) -> ble_l2cap_chan_info
Returns a copy 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 moreSource§impl Debug for ble_l2cap_chan_info
impl Debug for ble_l2cap_chan_info
Source§impl Default for ble_l2cap_chan_info
impl Default for ble_l2cap_chan_info
Source§fn default() -> ble_l2cap_chan_info
fn default() -> ble_l2cap_chan_info
Returns the “default value” for a type. Read more
impl Copy for ble_l2cap_chan_info
Auto Trait Implementations§
impl Freeze for ble_l2cap_chan_info
impl RefUnwindSafe for ble_l2cap_chan_info
impl Send for ble_l2cap_chan_info
impl Sync for ble_l2cap_chan_info
impl Unpin for ble_l2cap_chan_info
impl UnwindSafe for ble_l2cap_chan_info
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, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)