pub enum SocketAddrKind {
V4(SocketAddrV4),
V6 {
addr: SocketAddrV6,
is_dualstack: bool,
},
}Variants§
Trait Implementations§
Source§impl Clone for SocketAddrKind
impl Clone for SocketAddrKind
Source§fn clone(&self) -> SocketAddrKind
fn clone(&self) -> SocketAddrKind
Returns a duplicate 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 SocketAddrKind
impl Debug for SocketAddrKind
impl Copy for SocketAddrKind
Auto Trait Implementations§
impl Freeze for SocketAddrKind
impl RefUnwindSafe for SocketAddrKind
impl Send for SocketAddrKind
impl Sync for SocketAddrKind
impl Unpin for SocketAddrKind
impl UnwindSafe for SocketAddrKind
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