Enum wtransport::config::IpBindConfig
source · pub enum IpBindConfig {
LocalV4,
LocalV6,
LocalDual,
InAddrAnyV4,
InAddrAnyV6,
InAddrAnyDual,
}
Expand description
Configuration for IP address socket bind.
Variants§
LocalV4
Bind to LOCALHOST IPv4 address (no IPv6).
LocalV6
Bind to LOCALHOST IPv6 address (no IPv4).
LocalDual
Bind to LOCALHOST both IPv4 and IPv6 address (dual stack, if supported).
InAddrAnyV4
Bind to INADDR_ANY
IPv4 address (no IPv6).
InAddrAnyV6
Bind to INADDR_ANY
IPv6 address (no IPv4).
InAddrAnyDual
Bind to INADDR_ANY
both IPv4 and IPv6 address (dual stack, if supported).
Trait Implementations§
source§impl Clone for IpBindConfig
impl Clone for IpBindConfig
source§fn clone(&self) -> IpBindConfig
fn clone(&self) -> IpBindConfig
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 IpBindConfig
impl Debug for IpBindConfig
impl Copy for IpBindConfig
Auto Trait Implementations§
impl Freeze for IpBindConfig
impl RefUnwindSafe for IpBindConfig
impl Send for IpBindConfig
impl Sync for IpBindConfig
impl Unpin for IpBindConfig
impl UnwindSafe for IpBindConfig
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