[][src]Enum git_testament::GitModification

pub enum GitModification<'a> {
    Added(&'a [u8]),
    Removed(&'a [u8]),
    Modified(&'a [u8]),
    Untracked(&'a [u8]),
}

A modification to a working tree, recorded when the testament was created.

Variants

Added(&'a [u8])

A file or directory was added but not committed

Removed(&'a [u8])

A file or directory was removed but not committed

Modified(&'a [u8])

A file was modified in some way, either content or permissions

Untracked(&'a [u8])

A file or directory was present but untracked

Trait Implementations

impl<'a> Debug for GitModification<'a>[src]

Auto Trait Implementations

impl<'a> Send for GitModification<'a>

impl<'a> Sync for GitModification<'a>

Blanket Implementations

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

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

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.

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

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

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