pub enum CasError {
Store(StoreError),
Json(Error),
}Variants§
Store(StoreError)
Json(Error)
Trait Implementations§
Source§impl Error for CasError
impl Error for CasError
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<StoreError> for CasError
impl From<StoreError> for CasError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CasError
impl !RefUnwindSafe for CasError
impl Send for CasError
impl Sync for CasError
impl Unpin for CasError
impl UnsafeUnpin for CasError
impl !UnwindSafe for CasError
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