Struct tiny_http::SslConfig [] [src]

pub struct SslConfig {
    pub certificate: Vec<u8>,
    pub private_key: Vec<u8>,
}

Configuration of the server for SSL.

Fields

certificate: Vec<u8>

Contains the public certificate to send to clients.

private_key: Vec<u8>

Contains the ultra-secret private key used to decode communications.

Trait Implementations

impl Clone for SslConfig
[src]

fn clone(&self) -> SslConfig

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 Debug for SslConfig
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.