pub enum PurgeStatus {
NoCache,
Found,
NotFound,
Error(Box<Error>),
}
Variants§
NoCache
Cache was not enabled, purge ineffectual.
Found
Asset was found in cache (and presumably purged or being purged).
NotFound
Asset was not found in cache.
Error(Box<Error>)
Cache returned a purge error. Contains causing error in case it should affect the downstream response.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PurgeStatus
impl !RefUnwindSafe for PurgeStatus
impl Send for PurgeStatus
impl Sync for PurgeStatus
impl Unpin for PurgeStatus
impl !UnwindSafe for PurgeStatus
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