Struct hyper_native_tls::NativeTlsServer
[−]
[src]
pub struct NativeTlsServer(_);
An SslServer
implementation using native-tls.
Methods
impl NativeTlsServer
[src]
fn new<P>(identity: P, password: &str) -> Result<NativeTlsServer, ServerError> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
Returns a NativeTlsServer
with a default configuration.
Trait Implementations
impl Clone for NativeTlsServer
[src]
fn clone(&self) -> NativeTlsServer
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<TlsAcceptor> for NativeTlsServer
[src]
fn from(t: TlsAcceptor) -> NativeTlsServer
[src]
Performs the conversion.
impl<T> SslServer<T> for NativeTlsServer where
T: NetworkStream + Send + Clone + Debug + Sync,
[src]
T: NetworkStream + Send + Clone + Debug + Sync,