Struct linux_raw_sys::general::sockaddr_in6
source · #[repr(C)]pub struct sockaddr_in6 {
pub sin6_family: c_ushort,
pub sin6_port: __be16,
pub sin6_flowinfo: __be32,
pub sin6_addr: in6_addr,
pub sin6_scope_id: __u32,
}
Fields§
§sin6_family: c_ushort
§sin6_port: __be16
§sin6_flowinfo: __be32
§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 moreimpl Copy for sockaddr_in6
Auto Trait Implementations§
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