Enum wasmcloud_core::oci::CacheResult
source · pub enum CacheResult {
Hit,
Miss,
}
Expand description
A type to indicate whether there was a cache hit or miss when loading artifacts
Variants§
Trait Implementations§
source§impl Clone for CacheResult
impl Clone for CacheResult
source§fn clone(&self) -> CacheResult
fn clone(&self) -> CacheResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CacheResult
impl Debug for CacheResult
source§impl PartialEq for CacheResult
impl PartialEq for CacheResult
impl Eq for CacheResult
impl StructuralPartialEq for CacheResult
Auto Trait Implementations§
impl Freeze for CacheResult
impl RefUnwindSafe for CacheResult
impl Send for CacheResult
impl Sync for CacheResult
impl Unpin for CacheResult
impl UnwindSafe for CacheResult
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.