#[repr(C)]pub struct SocketAddrOpaque { /* private fields */ }
Expand description
Opaque type equivalent to sockaddr
in C.
This is always used behind a raw pointer that is cast from a pointer to a
sockaddr
-compatible C type, and then cast back to a sockaddr
pointer to
be passed to a system call.
Auto Trait Implementations§
impl Freeze for SocketAddrOpaque
impl RefUnwindSafe for SocketAddrOpaque
impl Send for SocketAddrOpaque
impl Sync for SocketAddrOpaque
impl Unpin for SocketAddrOpaque
impl UnwindSafe for SocketAddrOpaque
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