pub enum RustixError {
DB(Error),
SerialJson(Error),
SerialUTF8(Utf8Error),
Init(CustomRustixFrontendError),
Other(Box<dyn Error>),
}Variants§
DB(Error)
DB Error
SerialJson(Error)
Serialization Error
SerialUTF8(Utf8Error)
Utf8 Error
Init(CustomRustixFrontendError)
My own Error
Other(Box<dyn Error>)
other Error
Trait Implementations§
Source§impl Debug for RustixError
impl Debug for RustixError
Source§impl Display for RustixError
impl Display for RustixError
Source§impl Error for RustixError
impl Error for RustixError
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
1.30.0 · 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<CustomRustixFrontendError> for RustixError
impl From<CustomRustixFrontendError> for RustixError
Source§fn from(e: CustomRustixFrontendError) -> Self
fn from(e: CustomRustixFrontendError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for RustixError
impl From<Error> for RustixError
Source§fn from(e: Error_JSON) -> Self
fn from(e: Error_JSON) -> Self
Converts to this type from the input type.
Source§impl From<Error> for RustixError
impl From<Error> for RustixError
Source§fn from(e: Error_LMDB) -> Self
fn from(e: Error_LMDB) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RustixError
impl !RefUnwindSafe for RustixError
impl !Send for RustixError
impl !Sync for RustixError
impl Unpin for RustixError
impl !UnwindSafe for RustixError
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