pub enum PutOutcome {
Written(FileStamp),
Exists,
}Expand description
What DiskCache::put_stamped did.
Variants§
Written(FileStamp)
The entry was written; its file has this stamp.
Exists
An entry for the key already existed and was left alone.
Trait Implementations§
Source§impl Clone for PutOutcome
impl Clone for PutOutcome
impl Copy for PutOutcome
Source§impl Debug for PutOutcome
impl Debug for PutOutcome
impl Eq for PutOutcome
Source§impl PartialEq for PutOutcome
impl PartialEq for PutOutcome
impl StructuralPartialEq for PutOutcome
Auto Trait Implementations§
impl Freeze for PutOutcome
impl RefUnwindSafe for PutOutcome
impl Send for PutOutcome
impl Sync for PutOutcome
impl Unpin for PutOutcome
impl UnsafeUnpin for PutOutcome
impl UnwindSafe for PutOutcome
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