Enum isahc::config::IpVersion [−][src]
pub enum IpVersion {
V4,
V6,
Any,
}
Expand description
Supported IP versions that can be used.
Variants
Use IPv4 addresses only. IPv6 addresses will be ignored.
Use IPv6 addresses only. IPv4 addresses will be ignored.
Use either IPv4 or IPv6 addresses. By default IPv6 addresses are preferred if available, otherwise an IPv4 address will be used. IPv6 addresses are tried first by following the recommendations of RFC 6555 “Happy Eyeballs”.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IpVersion
impl UnwindSafe for IpVersion
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more