Struct SockaddrMsmIpc
#[repr(C)]struct SockaddrMsmIpc {
family: c_ushort,
address: MsmIpcAddr,
reserved: u8,
}Expand description
struct sockaddr_msm_ipc.
Fields§
§family: c_ushort§address: MsmIpcAddr§reserved: u8Implementations§
§impl SockaddrMsmIpc
impl SockaddrMsmIpc
Trait Implementations§
§impl Clone for SockaddrMsmIpc
impl Clone for SockaddrMsmIpc
§fn clone(&self) -> SockaddrMsmIpc
fn clone(&self) -> SockaddrMsmIpc
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SockaddrMsmIpc
§impl SocketAddrArg for SockaddrMsmIpc
impl SocketAddrArg for SockaddrMsmIpc
§unsafe fn with_sockaddr<R>(
&self,
f: impl FnOnce(*const SocketAddrOpaque, SocketAddrLen) -> R,
) -> R
unsafe fn with_sockaddr<R>( &self, f: impl FnOnce(*const SocketAddrOpaque, SocketAddrLen) -> R, ) -> R
Call a closure with the pointer and length to the corresponding C type. Read more
§unsafe fn write_sockaddr(&self, storage: *mut SocketAddrStorage) -> u32
unsafe fn write_sockaddr(&self, storage: *mut SocketAddrStorage) -> u32
Encode an address into a
SocketAddrStorage. Read moreAuto Trait Implementations§
impl Freeze for SockaddrMsmIpc
impl RefUnwindSafe for SockaddrMsmIpc
impl Send for SockaddrMsmIpc
impl Sync for SockaddrMsmIpc
impl Unpin for SockaddrMsmIpc
impl UnsafeUnpin for SockaddrMsmIpc
impl UnwindSafe for SockaddrMsmIpc
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