#[repr(C)]pub struct socket_address {
pub kind: addr_kind,
pub addr_octets: socket_address_addrs,
pub port: u16,
pub scope_id: u32,
pub flowinfo: u32,
}
Fields§
§kind: addr_kind
§addr_octets: socket_address_addrs
§port: u16
§scope_id: u32
§flowinfo: u32
Trait Implementations§
Source§impl Clone for socket_address
impl Clone for socket_address
Source§fn clone(&self) -> socket_address
fn clone(&self) -> socket_address
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
Auto Trait Implementations§
impl Freeze for socket_address
impl RefUnwindSafe for socket_address
impl Send for socket_address
impl Sync for socket_address
impl Unpin for socket_address
impl UnwindSafe for socket_address
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