#[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,
}
Fields§
§scid: u16
§dcid: u16
§our_l2cap_mtu: u16
§peer_l2cap_mtu: u16
§psm: u16
§our_coc_mtu: u16
§peer_coc_mtu: u16
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 · 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 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§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 14 bytes