pub enum EncryptionAlgo {
XChaCha20Poly1305,
AES256GCM,
}Variants§
Trait Implementations§
Source§impl<'__de> BorrowDecode<'__de> for EncryptionAlgo
impl<'__de> BorrowDecode<'__de> for EncryptionAlgo
Source§fn borrow_decode<__D: BorrowDecoder<'__de>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Debug for EncryptionAlgo
impl Debug for EncryptionAlgo
Source§impl Decode for EncryptionAlgo
impl Decode for EncryptionAlgo
Source§impl Encode for EncryptionAlgo
impl Encode for EncryptionAlgo
Source§impl PartialEq for EncryptionAlgo
impl PartialEq for EncryptionAlgo
impl StructuralPartialEq for EncryptionAlgo
Auto Trait Implementations§
impl Freeze for EncryptionAlgo
impl RefUnwindSafe for EncryptionAlgo
impl Send for EncryptionAlgo
impl Sync for EncryptionAlgo
impl Unpin for EncryptionAlgo
impl UnwindSafe for EncryptionAlgo
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