pub enum RemoteCacheAction {
Reject,
Noop,
StoreFinished,
StoreHidden,
Remove,
}Expand description
Mutation of the primary remote-metadata cache and its derived epoch index.
Variants§
Reject
Reject a stale, conflicting, or resurrection attempt.
Noop
Preserve state for an exact retry or an already-absent tombstone.
StoreFinished
Store the new readable state and index it in the derived epoch index.
StoreHidden
Store a non-readable state and drop it from the derived epoch index.
Remove
Remove primary state, and with it any epoch-index entries.
Trait Implementations§
Source§impl Clone for RemoteCacheAction
impl Clone for RemoteCacheAction
Source§fn clone(&self) -> RemoteCacheAction
fn clone(&self) -> RemoteCacheAction
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 RemoteCacheAction
Source§impl Debug for RemoteCacheAction
impl Debug for RemoteCacheAction
impl Eq for RemoteCacheAction
Source§impl PartialEq for RemoteCacheAction
impl PartialEq for RemoteCacheAction
impl StructuralPartialEq for RemoteCacheAction
Auto Trait Implementations§
impl Freeze for RemoteCacheAction
impl RefUnwindSafe for RemoteCacheAction
impl Send for RemoteCacheAction
impl Sync for RemoteCacheAction
impl Unpin for RemoteCacheAction
impl UnsafeUnpin for RemoteCacheAction
impl UnwindSafe for RemoteCacheAction
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