pub struct Decryption(/* private fields */);
Implementations§
Source§impl Decryption
impl Decryption
pub fn new(settings: Option<CipherSettings>) -> Self
pub fn decrypt( &self, packet: DataPacket, ) -> Result<(usize, DataPacket), DecryptionError>
pub fn refresh_key_material( &mut self, keying_material: KeyingMaterialMessage, ) -> Result<Option<KeyingMaterialMessage>, KeyMaterialError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Decryption
impl RefUnwindSafe for Decryption
impl Send for Decryption
impl Sync for Decryption
impl Unpin for Decryption
impl UnwindSafe for Decryption
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