pub enum LandCacheError {
Store(StoreError),
Database(Error),
Io(Error),
NoCoverage,
}Expand description
Everything that can go wrong baking a chart’s land cache.
Variants§
Store(StoreError)
Reading the source chart failed.
Database(Error)
Writing or reading the cache file itself failed.
Io(Error)
The source chart’s own file metadata could not be read.
NoCoverage
The chart carries no COVERAGE_CLASS features at all, so
detect_coverage_area has nothing to detect a region from.
Trait Implementations§
Source§impl Debug for LandCacheError
impl Debug for LandCacheError
Source§impl Display for LandCacheError
impl Display for LandCacheError
Source§impl Error for LandCacheError
impl Error for LandCacheError
1.30.0 · 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()
Source§impl From<Error> for LandCacheError
impl From<Error> for LandCacheError
Source§impl From<Error> for LandCacheError
impl From<Error> for LandCacheError
Auto Trait Implementations§
impl !RefUnwindSafe for LandCacheError
impl !UnwindSafe for LandCacheError
impl Freeze for LandCacheError
impl Send for LandCacheError
impl Sync for LandCacheError
impl Unpin for LandCacheError
impl UnsafeUnpin for LandCacheError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more