pub enum CacheDeletionOutcome {
Success,
ResponseNotFound,
}Expand description
Successful outcomes when attempting to delete a Response from the cache
Variants§
Success
The response was cached but is now deleted
ResponseNotFound
The response was not in the cache at the time of deletion.
Trait Implementations§
Source§impl Clone for CacheDeletionOutcome
impl Clone for CacheDeletionOutcome
Source§fn clone(&self) -> CacheDeletionOutcome
fn clone(&self) -> CacheDeletionOutcome
Returns a duplicate 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 CacheDeletionOutcome
impl Debug for CacheDeletionOutcome
Auto Trait Implementations§
impl Freeze for CacheDeletionOutcome
impl RefUnwindSafe for CacheDeletionOutcome
impl Send for CacheDeletionOutcome
impl Sync for CacheDeletionOutcome
impl Unpin for CacheDeletionOutcome
impl UnwindSafe for CacheDeletionOutcome
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