pub enum Before {
Nothing,
TheSame,
Different(String),
}Expand description
What was at the destination before an install put something there.
Variants§
Nothing
Nothing, which is the first install of this target on this machine.
TheSame
A sysroot whose manifest has the same digest, so the install was not needed and nothing was moved. Two rucc versions share a directory for the reason section 13.2 gives, and a second fetch of the same artifact is the ordinary way this happens.
Different(String)
A sysroot with a different digest, which was replaced. The string is the digest that was there, so that whatever reports the install can say what it stood on.
Trait Implementations§
impl Eq for Before
impl StructuralPartialEq for Before
Auto Trait Implementations§
impl Freeze for Before
impl RefUnwindSafe for Before
impl Send for Before
impl Sync for Before
impl Unpin for Before
impl UnsafeUnpin for Before
impl UnwindSafe for Before
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.