pub enum Tag {
Nonce = 1,
Salt = 2,
Iterations = -3,
Info = 4,
Filename = 5,
Application = 6,
Mimetype = 7,
Comment = 127,
}Expand description
Tagged data used for encryption, key derivation, or file metadata.
Each PZip archive may have some number (usually non-zero) of tagged data elements
that specify parameters required for encryption (Nonce), key derivation
(Salt, Iterations, Info), or file metadata (Filename, Mimetype).
Variants§
Nonce = 1
Salt = 2
Iterations = -3
Info = 4
Filename = 5
Application = 6
Mimetype = 7
Comment = 127
Implementations§
Trait Implementations§
impl Copy for Tag
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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