#[repr(C)]pub struct sockaddr_in6 {
pub sin6_len: u8,
pub sin6_family: sa_family_t,
pub sin6_port: in_port_t,
pub sin6_flowinfo: u32,
pub sin6_addr: in6_addr,
pub sin6_scope_id: u32,
}
Fields§
§sin6_len: u8
§sin6_family: sa_family_t
§sin6_port: in_port_t
§sin6_flowinfo: u32
§sin6_addr: in6_addr
§sin6_scope_id: u32
Trait Implementations§
Source§impl Clone for sockaddr_in6
impl Clone for sockaddr_in6
Source§fn clone(&self) -> sockaddr_in6
fn clone(&self) -> sockaddr_in6
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 moreSource§impl Debug for sockaddr_in6
impl Debug for sockaddr_in6
Source§impl Default for sockaddr_in6
impl Default for sockaddr_in6
Source§fn default() -> sockaddr_in6
fn default() -> sockaddr_in6
Returns the “default value” for a type. Read more
Source§impl From<Endpoint> for sockaddr_in6
impl From<Endpoint> for sockaddr_in6
Source§fn from(endpoint: IpEndpoint) -> Self
fn from(endpoint: IpEndpoint) -> Self
Converts to this type from the input type.
Source§impl From<sockaddr_in6> for IpEndpoint
impl From<sockaddr_in6> for IpEndpoint
Source§fn from(addr: sockaddr_in6) -> IpEndpoint
fn from(addr: sockaddr_in6) -> IpEndpoint
Converts to this type from the input type.
Source§impl From<sockaddr_in6> for IpListenEndpoint
impl From<sockaddr_in6> for IpListenEndpoint
Source§fn from(addr: sockaddr_in6) -> IpListenEndpoint
fn from(addr: sockaddr_in6) -> IpListenEndpoint
Converts to this type from the input type.
impl Copy for sockaddr_in6
Auto Trait Implementations§
impl Freeze for sockaddr_in6
impl RefUnwindSafe for sockaddr_in6
impl Send for sockaddr_in6
impl Sync for sockaddr_in6
impl Unpin for sockaddr_in6
impl UnwindSafe for sockaddr_in6
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