pub struct Output {
pub path: PathBuf,
pub pending: Option<Set<&'static str>>,
pub error: Option<Error>,
}
Expand description
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 haveSome
value - There are pending states…
pending
will haveSome
value
Fields
path: PathBuf
Repository path
pending: Option<Set<&'static str>>
A list of pending actions
error: Option<Error>
Git-related error
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more