pub enum RarEncryption {
Legacy,
Aes128,
Aes256,
Unknown,
}Expand description
RAR encryption methods
Variants§
Legacy
RAR 2.x proprietary encryption (weak)
Aes128
RAR 3.x/4.x AES-128 encryption
Aes256
RAR 5.x AES-256 with PBKDF2 key derivation
Unknown
Encrypted but method unknown
Trait Implementations§
Source§impl Clone for RarEncryption
impl Clone for RarEncryption
Source§fn clone(&self) -> RarEncryption
fn clone(&self) -> RarEncryption
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 RarEncryption
impl Debug for RarEncryption
Source§impl Display for RarEncryption
impl Display for RarEncryption
Source§impl Hash for RarEncryption
impl Hash for RarEncryption
Source§impl PartialEq for RarEncryption
impl PartialEq for RarEncryption
impl Copy for RarEncryption
impl Eq for RarEncryption
impl StructuralPartialEq for RarEncryption
Auto Trait Implementations§
impl Freeze for RarEncryption
impl RefUnwindSafe for RarEncryption
impl Send for RarEncryption
impl Sync for RarEncryption
impl Unpin for RarEncryption
impl UnwindSafe for RarEncryption
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.