pub struct Inet6SocketAddress {
pub addr: [u8; 16],
pub port: u16,
pub flowinfo: u32,
pub scope_id: u32,
}Expand description
IPv6 socket address
Fields§
§addr: [u8; 16]IPv6 address
port: u16Port number
flowinfo: u32Flow information
scope_id: u32Scope ID
Implementations§
Trait Implementations§
Source§impl Clone for Inet6SocketAddress
impl Clone for Inet6SocketAddress
Source§fn clone(&self) -> Inet6SocketAddress
fn clone(&self) -> Inet6SocketAddress
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Inet6SocketAddress
impl Debug for Inet6SocketAddress
Source§impl PartialEq for Inet6SocketAddress
impl PartialEq for Inet6SocketAddress
impl Copy for Inet6SocketAddress
impl Eq for Inet6SocketAddress
impl StructuralPartialEq for Inet6SocketAddress
Auto Trait Implementations§
impl Freeze for Inet6SocketAddress
impl RefUnwindSafe for Inet6SocketAddress
impl Send for Inet6SocketAddress
impl Sync for Inet6SocketAddress
impl Unpin for Inet6SocketAddress
impl UnwindSafe for Inet6SocketAddress
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.