pub enum CyaneaError {
Io(Error),
Parse(String),
InvalidInput(String),
Compression(String),
Hash(String),
Other(String),
}Expand description
Unified error type for all Cyanea operations.
Variants§
Io(Error)
I/O error (file not found, permission denied, etc.)
Parse(String)
Parse error (malformed input data)
InvalidInput(String)
Invalid input (bad arguments, out-of-range values)
Compression(String)
Compression or decompression failure
Hash(String)
Hashing failure
Other(String)
Catch-all for other errors
Trait Implementations§
Source§impl Debug for CyaneaError
impl Debug for CyaneaError
Source§impl Display for CyaneaError
impl Display for CyaneaError
Source§impl Error for CyaneaError
impl Error for CyaneaError
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 Freeze for CyaneaError
impl !RefUnwindSafe for CyaneaError
impl Send for CyaneaError
impl Sync for CyaneaError
impl Unpin for CyaneaError
impl UnsafeUnpin for CyaneaError
impl !UnwindSafe for CyaneaError
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