pub enum Answer<T> {
Found(T),
Missing,
Failed(FailedFetch),
}Expand description
What a lookup found. Missing is a commit or ref that does not exist, and the only answer
that drops a lock; Failed is any other error and always stops resolution.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<T> Forget for Answer<T>
impl<T> Freeze for Answer<T>
impl<T> Move for Answer<T>
impl<T> RefUnwindSafe for Answer<T>where
T: RefUnwindSafe,
impl<T> Send for Answer<T>
impl<T> Sync for Answer<T>
impl<T> Unpin for Answer<T>
impl<T> UnsafeUnpin for Answer<T>
impl<T> UnwindSafe for Answer<T>where
T: UnwindSafe,
RawVecInner: UnwindSafe,
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