pub enum ResultCacheError {
Io(Error),
SpotCheckDivergence(Box<SpotCheckDivergence>),
}Expand description
Errors from cache I/O or a fail-closed spot-check disagreement.
Variants§
Io(Error)
Filesystem or encoding failure while reading or writing an entry.
SpotCheckDivergence(Box<SpotCheckDivergence>)
A sampled cache hit disagreed with a fresh run. Never trusted.
Trait Implementations§
Source§impl Debug for ResultCacheError
impl Debug for ResultCacheError
Source§impl Display for ResultCacheError
impl Display for ResultCacheError
Source§impl Error for ResultCacheError
impl Error for ResultCacheError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for ResultCacheError
impl !UnwindSafe for ResultCacheError
impl Freeze for ResultCacheError
impl Send for ResultCacheError
impl Sync for ResultCacheError
impl Unpin for ResultCacheError
impl UnsafeUnpin for ResultCacheError
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