Trait hyper_static_server::tokio::net::ToSocketAddrs [−][src]
Converts or resolves without blocking to one or more SocketAddr
values.
DNS
Implementations of ToSocketAddrs
for string types require a DNS lookup.
Calling
Currently, this trait is only used as an argument to Tokio functions that
need to reference a target socket address. To perform a SocketAddr
conversion directly, use lookup_host()
.
This trait is sealed and is intended to be opaque. The details of the trait will change. Stabilization is pending enhancements to the Rust language.
Implementations on Foreign Types
impl<'_, T> ToSocketAddrs for &'_ T where
T: ToSocketAddrs + ?Sized,
[src]
T: ToSocketAddrs + ?Sized,