1 2 3 4 5 6 7
use openssl::x509::X509; #[derive(Default, Clone)] pub struct Connection { pub peer_addr: String, pub peer_tls_cert: Option<Vec<X509>>, }