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