Function axum_server::bind_rustls [−][src]
pub fn bind_rustls<A, I>(addr: A) -> TlsServer where
A: ToSocketAddrs<Iter = I> + Send + 'static,
I: Iterator<Item = SocketAddr> + 'static,
This is supported on crate feature
tls-rustls
only.Expand description
Shortcut for creating Server
and calling bind_rustls
on it.