Struct hyper_rustls::TlsServer
[−]
[src]
pub struct TlsServer { pub cfg: Arc<ServerConfig>, }
Fields
cfg: Arc<ServerConfig>
Methods
impl TlsServer
[src]
fn new(certs: Vec<Certificate>, key: PrivateKey) -> TlsServer
Trait Implementations
impl Clone for TlsServer
[src]
fn clone(&self) -> TlsServer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl SslServer for TlsServer
[src]
type Stream = WrappedStream
The protected stream.
fn wrap_server(&self, stream: HttpStream) -> Result<WrappedStream>
Wrap a server stream with SSL.