pub enum ArtifactFreshness {
Fresh,
Stale,
}Expand description
Freshness state for stale-while-revalidate policy.
Variants§
Trait Implementations§
Source§impl Clone for ArtifactFreshness
impl Clone for ArtifactFreshness
Source§fn clone(&self) -> ArtifactFreshness
fn clone(&self) -> ArtifactFreshness
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 moreSource§impl Debug for ArtifactFreshness
impl Debug for ArtifactFreshness
Source§impl PartialEq for ArtifactFreshness
impl PartialEq for ArtifactFreshness
Source§fn eq(&self, other: &ArtifactFreshness) -> bool
fn eq(&self, other: &ArtifactFreshness) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArtifactFreshness
impl Eq for ArtifactFreshness
impl StructuralPartialEq for ArtifactFreshness
Auto Trait Implementations§
impl Freeze for ArtifactFreshness
impl RefUnwindSafe for ArtifactFreshness
impl Send for ArtifactFreshness
impl Sync for ArtifactFreshness
impl Unpin for ArtifactFreshness
impl UnsafeUnpin for ArtifactFreshness
impl UnwindSafe for ArtifactFreshness
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