pub enum ItemStatus {
Missing,
Directory,
GitRepo(Option<RepoSummary>),
}Expand description
Per-item filesystem classification carried alongside config.items.
GitRepo’s inner Option is None when .git exists but libgit2
couldn’t open or read the repo — we know it’s a repo, we just can’t
summarize its state.
Variants§
Trait Implementations§
Source§impl Clone for ItemStatus
impl Clone for ItemStatus
Source§fn clone(&self) -> ItemStatus
fn clone(&self) -> ItemStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ItemStatus
impl RefUnwindSafe for ItemStatus
impl Send for ItemStatus
impl Sync for ItemStatus
impl Unpin for ItemStatus
impl UnsafeUnpin for ItemStatus
impl UnwindSafe for ItemStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more