Enum mailin_embedded::SslConfig
source · pub enum SslConfig {
None,
SelfSigned {
cert_path: String,
key_path: String,
},
Trusted {
cert_path: String,
key_path: String,
chain_path: String,
},
}Expand description
SslConfig is used to configure the STARTTLS configuration of the server
Variants§
None
Do not support STARTTLS
SelfSigned
Use a self-signed certificate for STARTTLS
Trusted
Fields
Use a certificate from an authority