Struct rustls::tls13::Tls13MessageEncrypter
source · struct Tls13MessageEncrypter {
enc_key: LessSafeKey,
iv: Iv,
}
Fields§
§enc_key: LessSafeKey
§iv: Iv
Trait Implementations§
source§impl MessageEncrypter for Tls13MessageEncrypter
impl MessageEncrypter for Tls13MessageEncrypter
fn encrypt( &self, msg: BorrowedPlainMessage<'_>, seq: u64, ) -> Result<OpaqueMessage, Error>
Auto Trait Implementations§
impl Freeze for Tls13MessageEncrypter
impl RefUnwindSafe for Tls13MessageEncrypter
impl Send for Tls13MessageEncrypter
impl Sync for Tls13MessageEncrypter
impl Unpin for Tls13MessageEncrypter
impl UnwindSafe for Tls13MessageEncrypter
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