pub enum CacheReaderError {
Io {
path: String,
source: Error,
},
Cache(CacheError),
}Expand description
Errors returned by CacheReader.
Variants§
Trait Implementations§
Source§impl Debug for CacheReaderError
impl Debug for CacheReaderError
Source§impl Display for CacheReaderError
impl Display for CacheReaderError
Source§impl Error for CacheReaderError
impl Error for CacheReaderError
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<CacheError> for CacheReaderError
impl From<CacheError> for CacheReaderError
Source§fn from(source: CacheError) -> Self
fn from(source: CacheError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CacheReaderError
impl !RefUnwindSafe for CacheReaderError
impl Send for CacheReaderError
impl Sync for CacheReaderError
impl Unpin for CacheReaderError
impl UnsafeUnpin for CacheReaderError
impl !UnwindSafe for CacheReaderError
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