pub struct CipherPair {
pub encryptor: Cfb8Encryptor,
pub decryptor: Cfb8Decryptor,
}Expand description
A matched pair of stream ciphers for one connection.
Fields§
§encryptor: Cfb8EncryptorEncrypts outbound bytes.
decryptor: Cfb8DecryptorDecrypts inbound bytes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for CipherPair
impl Freeze for CipherPair
impl RefUnwindSafe for CipherPair
impl Send for CipherPair
impl Sync for CipherPair
impl Unpin for CipherPair
impl UnsafeUnpin for CipherPair
impl UnwindSafe for CipherPair
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more