[][src]Struct mrh::Output

pub struct Output {
    pub path: PathBuf,
    pub pending: Option<Set<&'static str>>,
    pub error: Option<Error>,
}

Represents Crawler output

There are 3 possible scenarios:

  • There are no pending states, so only path (to the repo) has a value
  • There are no pending states, and there is some error preventing the repo from being inspected properly... error will have Some value
  • There are pending states... pending will have Some value

Fields

path: PathBuf

Repository path

pending: Option<Set<&'static str>>

A list of pending actions

error: Option<Error>

Git-related error

Trait Implementations

impl Debug for Output[src]

Auto Trait Implementations

impl Sync for Output

impl Send for Output

impl Unpin for Output

impl RefUnwindSafe for Output

impl UnwindSafe for Output

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]