1 2 3 4 5 6 7 8 9 10 11 12
use scale::{Decode, Encode}; /// TLS server configuration. #[derive(Encode, Decode, Clone)] pub enum TlsServerConfig { V0 { /// Certificate in PEM format. cert: String, /// The private key of the certificate, in PEM format. key: String, }, }