pub enum InMemoryEvictionReason {
EntryLimit,
ByteLimit,
EntryAndByteLimit,
RejectedPut,
}Expand description
Reason the in-memory pipeline cache evicted retained artifacts.
Variants§
EntryLimit
Entry-count budget was exceeded.
ByteLimit
Byte budget was exceeded.
EntryAndByteLimit
Entry-count and byte budgets were both exceeded.
RejectedPut
A rejected put removed an existing artifact for the same key.
Trait Implementations§
Source§impl Clone for InMemoryEvictionReason
impl Clone for InMemoryEvictionReason
Source§fn clone(&self) -> InMemoryEvictionReason
fn clone(&self) -> InMemoryEvictionReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InMemoryEvictionReason
Source§impl Debug for InMemoryEvictionReason
impl Debug for InMemoryEvictionReason
impl Eq for InMemoryEvictionReason
Source§impl PartialEq for InMemoryEvictionReason
impl PartialEq for InMemoryEvictionReason
Source§fn eq(&self, other: &InMemoryEvictionReason) -> bool
fn eq(&self, other: &InMemoryEvictionReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InMemoryEvictionReason
Auto Trait Implementations§
impl Freeze for InMemoryEvictionReason
impl RefUnwindSafe for InMemoryEvictionReason
impl Send for InMemoryEvictionReason
impl Sync for InMemoryEvictionReason
impl Unpin for InMemoryEvictionReason
impl UnsafeUnpin for InMemoryEvictionReason
impl UnwindSafe for InMemoryEvictionReason
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.