CacheError
1234567891011#[non_exhaustive]pub enum CacheError { LimitExceeded, InvalidOperation, Unsupported, Timeout, Io(Error), Purge(Error), GetOrSet(Error), Other(FastlyStatus),}Errors arising from cache operations.
Variants
An underlying Core Cache API operation found an invalid state.
This should not arise during use of this API. If encountered, please report it as a bug.
An error occurred while running the closure argument of get_or_set().
This uses anyhow::Error to provide maximum flexibility in how the closure reports errors.
0: anyhow::Error
Trait implementations
impl Debug for CacheError
impl Display for CacheError
fmt
View sourceParameters
- self: &Self
- __formatter: &mut ::core::fmt::Formatter
Returns
::core::fmt::Result