[][src]Enum mailin_embedded::SslConfig

pub enum SslConfig {
    None,
    SelfSigned {
        cert_path: String,
        key_path: String,
    },
    Trusted {
        cert_path: String,
        key_path: String,
        chain_path: String,
    },
}

SslConfig is used to configure the STARTTLS configuration of the server

Variants

Do not support STARTTLS

Use a self-signed certificate for STARTTLS

Fields of SelfSigned

Certificate path

Path to key file

Use a certificate from an authority

Fields of Trusted

Certificate path

Key file path

Path to CA bundle

Auto Trait Implementations

impl Send for SslConfig

impl Sync for SslConfig

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]