pub enum GcsCacheError {
CloudStorageError(Error),
CacheDeserializationError {
cached_value: Vec<u8>,
error: Error,
},
CacheSerializationError {
error: Error,
},
}Variants§
Trait Implementations§
Source§impl Debug for GcsCacheError
impl Debug for GcsCacheError
Source§impl Display for GcsCacheError
impl Display for GcsCacheError
Source§impl Error for GcsCacheError
impl Error for GcsCacheError
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 GcsCacheError
impl !UnwindSafe for GcsCacheError
impl Freeze for GcsCacheError
impl Send for GcsCacheError
impl Sync for GcsCacheError
impl Unpin for GcsCacheError
impl UnsafeUnpin for GcsCacheError
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