Enum librumqttd::ServerCert [−][src]
pub enum ServerCert { RustlsCert { ca_path: String, cert_path: String, key_path: String, }, NativeTlsCert { pkcs12_path: String, pkcs12_pass: String, }, }
Variants
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ServerCert
impl Send for ServerCert
impl Sync for ServerCert
impl Unpin for ServerCert
impl UnwindSafe for ServerCert
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V