pub enum ArtifactSource {
Cache,
Download,
}Expand description
Where a FetchedModule’s bytes came from.
Variants§
Cache
Served from the local cache — no HTTP request was made.
Download
Freshly resolved, downloaded, and verified this call.
Trait Implementations§
Source§impl Clone for ArtifactSource
impl Clone for ArtifactSource
impl Copy for ArtifactSource
Source§impl Debug for ArtifactSource
impl Debug for ArtifactSource
impl Eq for ArtifactSource
Source§impl PartialEq for ArtifactSource
impl PartialEq for ArtifactSource
Source§impl Serialize for ArtifactSource
impl Serialize for ArtifactSource
impl StructuralPartialEq for ArtifactSource
Auto Trait Implementations§
impl Freeze for ArtifactSource
impl RefUnwindSafe for ArtifactSource
impl Send for ArtifactSource
impl Sync for ArtifactSource
impl Unpin for ArtifactSource
impl UnsafeUnpin for ArtifactSource
impl UnwindSafe for ArtifactSource
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.