Enum tar::HeaderMode[][src]

pub enum HeaderMode {
    Complete,
    Deterministic,
    // some variants omitted
}

Declares the information that should be included when filling a Header from filesystem metadata.

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

impl Clone for HeaderMode[src]

impl Copy for HeaderMode[src]

impl Debug for HeaderMode[src]

impl Eq for HeaderMode[src]

impl PartialEq<HeaderMode> for HeaderMode[src]

impl StructuralEq for HeaderMode[src]

impl StructuralPartialEq for HeaderMode[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.