pub enum AuroraError {
Show 17 variants
Io(Error),
Storage(Error),
Serialization(Error),
Bincode(Error),
IoError(String),
SerializationError(String),
CollectionNotFound(String),
CollectionAlreadyExists(String),
UniqueConstraintViolation(String, String),
SystemTime(SystemTimeError),
Protocol(String),
NotFound(String),
InvalidOperation(String),
InvalidKey(String),
InvalidValue(String),
Zip(ZipError),
Csv(Error),
}Variants§
Io(Error)
Storage(Error)
Serialization(Error)
Bincode(Error)
IoError(String)
SerializationError(String)
CollectionNotFound(String)
CollectionAlreadyExists(String)
UniqueConstraintViolation(String, String)
SystemTime(SystemTimeError)
Protocol(String)
NotFound(String)
InvalidOperation(String)
InvalidKey(String)
InvalidValue(String)
Zip(ZipError)
Csv(Error)
Trait Implementations§
Source§impl Debug for AuroraError
impl Debug for AuroraError
Source§impl Display for AuroraError
impl Display for AuroraError
Source§impl Error for AuroraError
impl Error for AuroraError
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<Box<ErrorKind>> for AuroraError
impl From<Box<ErrorKind>> for AuroraError
Source§fn from(source: BincodeError) -> Self
fn from(source: BincodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for AuroraError
impl From<Error> for AuroraError
Source§impl From<Error> for AuroraError
impl From<Error> for AuroraError
Source§impl From<Error> for AuroraError
impl From<Error> for AuroraError
Source§impl From<Error> for AuroraError
impl From<Error> for AuroraError
Source§impl From<SystemTimeError> for AuroraError
impl From<SystemTimeError> for AuroraError
Source§fn from(source: SystemTimeError) -> Self
fn from(source: SystemTimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuroraError
impl !RefUnwindSafe for AuroraError
impl Send for AuroraError
impl Sync for AuroraError
impl Unpin for AuroraError
impl !UnwindSafe for AuroraError
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