pub trait TlsWrapper {
// Required methods
fn wrap_stream(&self, plaintext: &[u8]) -> Vec<u8> ⓘ;
fn unwrap_stream(&self, ciphertext: &[u8]) -> Vec<u8> ⓘ;
}Expand description
Interface that would wrap an external TLS channel when available.