#[repr(C)]
pub union socket_address_addrs {
pub v4: [u8; 4],
pub v6: [u8; 16],
}
Fields§
§v4: [u8; 4]
§v6: [u8; 16]
Trait Implementations§
Source§impl Clone for socket_address_addrs
impl Clone for socket_address_addrs
Source§fn clone(&self) -> socket_address_addrs
fn clone(&self) -> socket_address_addrs
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 moreimpl Copy for socket_address_addrs
Auto Trait Implementations§
impl Freeze for socket_address_addrs
impl RefUnwindSafe for socket_address_addrs
impl Send for socket_address_addrs
impl Sync for socket_address_addrs
impl Unpin for socket_address_addrs
impl UnwindSafe for socket_address_addrs
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