pub enum ScrybeError {
Io(Error),
Serde(Error),
Cbor(String),
Other(String),
}Expand description
Top-level error type for scrybe-core operations.
Variants§
Implementations§
Trait Implementations§
Source§impl Debug for ScrybeError
impl Debug for ScrybeError
Source§impl Display for ScrybeError
impl Display for ScrybeError
Source§impl Error for ScrybeError
impl Error for ScrybeError
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 ScrybeError
impl From<Error> for ScrybeError
Auto Trait Implementations§
impl Freeze for ScrybeError
impl !RefUnwindSafe for ScrybeError
impl Send for ScrybeError
impl Sync for ScrybeError
impl Unpin for ScrybeError
impl UnsafeUnpin for ScrybeError
impl !UnwindSafe for ScrybeError
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