pub enum Staged {
Read(Vec<Option<Vec<u8>>>),
Unavailable(String),
}Expand description
What the index says about a set of paths.
Variants§
Read(Vec<Option<Vec<u8>>>)
The object id the index records for each requested path, in the order
they were asked for. None where the index has no stage-0 entry for it,
which covers an untracked path and an unresolved conflict alike — both
mean “this path’s content is not simply stored here”.
The index could not be read, and why.
A separate answer from “no entry”, because the two must not be confused by a caller that refuses on the second: an unreadable index is not evidence that anything is unstored.
Trait Implementations§
impl Eq for Staged
impl StructuralPartialEq for Staged
Auto Trait Implementations§
impl Freeze for Staged
impl RefUnwindSafe for Staged
impl Send for Staged
impl Sync for Staged
impl Unpin for Staged
impl UnsafeUnpin for Staged
impl UnwindSafe for Staged
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