Enum tar::HeaderMode [−][src]
#[non_exhaustive]
pub enum HeaderMode {
Complete,
Deterministic,
}
Expand description
Declares the information that should be included when filling a Header from filesystem metadata.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Complete
All supported metadata, including mod/access times and ownership will be included.
Deterministic
Only metadata that is directly relevant to the identity of a file will be included. In particular, ownership and mod/access times are excluded.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HeaderMode
impl Send for HeaderMode
impl Sync for HeaderMode
impl Unpin for HeaderMode
impl UnwindSafe for HeaderMode
Blanket Implementations
Mutably borrows from an owned value. Read more