pub enum Fetched {
AlreadyThere,
Downloaded(Downloader),
}Expand description
How a file got to where it was asked for.
Variants§
AlreadyThere
It was already there and it already matched the hash, so nothing ran. This is the ordinary case on a second fetch, and it is also the machine that was handed the file by hand.
Downloaded(Downloader)
It was downloaded, by this one of the three.
Trait Implementations§
impl Copy for Fetched
impl Eq for Fetched
impl StructuralPartialEq for Fetched
Auto Trait Implementations§
impl Freeze for Fetched
impl RefUnwindSafe for Fetched
impl Send for Fetched
impl Sync for Fetched
impl Unpin for Fetched
impl UnsafeUnpin for Fetched
impl UnwindSafe for Fetched
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.