unsafe fn from_raw_parts(addr: *const sockaddr, len: socklen_t) -> Self {
        let mut storage = MaybeUninit::<sockaddr_storage>::uninit();
        ptr::copy_nonoverlapping(
            addr as *const _ as *const u8,
            &mut storage as *mut _ as *mut u8,
            len as usize,
        );
        Self {
            storage: storage.assume_init(),
            len,
        }
    }
/// Creates an `Addr` from its raw parts.
Creates an `Addr` from its raw parts.
Creates an ` Addr ` from its raw parts .
unsafe fn from_raw_parts(addr: *const sockaddr, len: socklen_t) -> Self {
        let mut storage = MaybeUninit::<sockaddr_storage>::uninit();
        ptr::copy_nonoverlapping(
            addr as *const _ as *const u8,
            &mut storage as *mut _ as *mut u8,
            len as usize,
        );
        Self {
            storage: storage.assume_init(),
            len,
        }
    }
unsafe fn from_raw_parts ( addr : * const sockaddr , len : socklen_t ) -> Self { let mut storage = MaybeUninit :: < sockaddr_storage > :: uninit ( ) ; ptr :: copy_nonoverlapping ( addr as * const _ as * const u8 , & mut storage as * mut _ as * mut u8 , len as usize , ) ; Self { storage : storage . assume_init ( ) , len , } }
Creates an `Addr` from its raw parts.
Creates an ` Addr ` from its raw parts .
addr
*const sockaddr
len
socklen_t
addr
*const sockaddr
len
socklen_t