#[repr(C, packed(1))]pub struct SockAddrRc {
pub family: u16,
pub bdaddr: [u8; 6],
pub channel: u8,
}Expand description
struct sockaddr_rc from bluetooth/rfcomm.h.
Fields§
§family: u16§bdaddr: [u8; 6]§channel: u8Trait Implementations§
Source§impl Clone for SockAddrRc
impl Clone for SockAddrRc
impl Copy for SockAddrRc
Auto Trait Implementations§
impl Freeze for SockAddrRc
impl RefUnwindSafe for SockAddrRc
impl Send for SockAddrRc
impl Sync for SockAddrRc
impl Unpin for SockAddrRc
impl UnsafeUnpin for SockAddrRc
impl UnwindSafe for SockAddrRc
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