pub struct Ipv6V6Only;Expand description
The socket is restricted to sending and receiving IPv6 packets only.
Trait Implementations
sourceimpl Clone for Ipv6V6Only
impl Clone for Ipv6V6Only
sourcefn clone(&self) -> Ipv6V6Only
fn clone(&self) -> Ipv6V6Only
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for Ipv6V6Only
impl Debug for Ipv6V6Only
sourceimpl GetSockOpt for Ipv6V6Only
impl GetSockOpt for Ipv6V6Only
sourceimpl Hash for Ipv6V6Only
impl Hash for Ipv6V6Only
sourceimpl PartialEq<Ipv6V6Only> for Ipv6V6Only
impl PartialEq<Ipv6V6Only> for Ipv6V6Only
sourceimpl SetSockOpt for Ipv6V6Only
impl SetSockOpt for Ipv6V6Only
impl Copy for Ipv6V6Only
impl Eq for Ipv6V6Only
impl StructuralEq for Ipv6V6Only
impl StructuralPartialEq for Ipv6V6Only
Auto Trait Implementations
impl RefUnwindSafe for Ipv6V6Only
impl Send for Ipv6V6Only
impl Sync for Ipv6V6Only
impl Unpin for Ipv6V6Only
impl UnwindSafe for Ipv6V6Only
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more