pub enum Encryption {
None,
AES256GCM,
}Expand description
Algorithm for encrypting the archive data.
Variants§
Trait Implementations§
Source§impl Clone for Encryption
impl Clone for Encryption
Source§fn clone(&self) -> Encryption
fn clone(&self) -> Encryption
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Encryption
impl Debug for Encryption
Source§impl Display for Encryption
impl Display for Encryption
Source§impl From<Encryption> for u8
impl From<Encryption> for u8
Source§fn from(val: Encryption) -> Self
fn from(val: Encryption) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Encryption
impl PartialEq for Encryption
Source§impl TryFrom<u8> for Encryption
impl TryFrom<u8> for Encryption
impl Copy for Encryption
impl StructuralPartialEq for Encryption
Auto Trait Implementations§
impl Freeze for Encryption
impl RefUnwindSafe for Encryption
impl Send for Encryption
impl Sync for Encryption
impl Unpin for Encryption
impl UnsafeUnpin for Encryption
impl UnwindSafe for Encryption
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