pub enum RenewalOutcome {
Read,
Late,
Unreported,
Refused,
}Expand description
What one renewal shows about the cache it was sent to keep.
The one reading of a cache_renewed line that a cost view counts by
(crates/kernel/spec/KeepWarm.lean §8-74, storage D35).
Variants§
Read
The provider reported no cache write: the renewal reached the entry while it was alive.
Late
The provider reported cache write tokens above zero: the entry had expired, and the renewal paid the write price for the prefix instead of the read price.
Unreported
The provider answered without a cache write count.
Refused
The provider refused the renewal.
Trait Implementations§
Source§impl Clone for RenewalOutcome
impl Clone for RenewalOutcome
impl Copy for RenewalOutcome
Source§impl Debug for RenewalOutcome
impl Debug for RenewalOutcome
impl Eq for RenewalOutcome
Source§impl PartialEq for RenewalOutcome
impl PartialEq for RenewalOutcome
impl StructuralPartialEq for RenewalOutcome
Auto Trait Implementations§
impl Freeze for RenewalOutcome
impl RefUnwindSafe for RenewalOutcome
impl Send for RenewalOutcome
impl Sync for RenewalOutcome
impl Unpin for RenewalOutcome
impl UnsafeUnpin for RenewalOutcome
impl UnwindSafe for RenewalOutcome
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