Enum wtransport::config::Ipv6DualStackConfig
source · pub enum Ipv6DualStackConfig {
OsDefault,
Deny,
Allow,
}
Expand description
Configuration for IPv6 dual stack.
Variants§
OsDefault
Do not configure dual stack. Use OS’s default.
Deny
Deny dual stack. This is equivalent to IPV6_V6ONLY
.
Socket will only bind for IPv6 (IPv4 port will still be available).
Allow
Allow dual stack.
Please note that not all configurations/platforms support dual stack.
Trait Implementations§
source§impl Clone for Ipv6DualStackConfig
impl Clone for Ipv6DualStackConfig
source§fn clone(&self) -> Ipv6DualStackConfig
fn clone(&self) -> Ipv6DualStackConfig
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 Ipv6DualStackConfig
impl Debug for Ipv6DualStackConfig
impl Copy for Ipv6DualStackConfig
Auto Trait Implementations§
impl Freeze for Ipv6DualStackConfig
impl RefUnwindSafe for Ipv6DualStackConfig
impl Send for Ipv6DualStackConfig
impl Sync for Ipv6DualStackConfig
impl Unpin for Ipv6DualStackConfig
impl UnwindSafe for Ipv6DualStackConfig
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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