Enum akita::AkitaError
source · [−]pub enum AkitaError {
Show 15 variants
InvalidSQL(String),
InvalidField(String),
MissingIdent(String),
MissingTable(String),
MissingField(String),
MySQLError(String),
SQLiteError(String),
ExcuteSqlError(String, String),
DataError(String),
R2D2Error(String),
UrlParseError(String),
RedundantField(String),
UnknownDatabase(String),
UnsupportedOperation(String),
Unknown,
}
Variants
InvalidSQL(String)
InvalidField(String)
MissingIdent(String)
MissingTable(String)
MissingField(String)
MySQLError(String)
SQLiteError(String)
ExcuteSqlError(String, String)
DataError(String)
R2D2Error(String)
UrlParseError(String)
RedundantField(String)
UnknownDatabase(String)
UnsupportedOperation(String)
Unknown
Trait Implementations
sourceimpl Debug for AkitaError
impl Debug for AkitaError
sourceimpl Display for AkitaError
impl Display for AkitaError
sourceimpl Error for AkitaError
impl Error for AkitaError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
sourceimpl From<ConvertError> for AkitaError
impl From<ConvertError> for AkitaError
sourcefn from(err: ConvertError) -> Self
fn from(err: ConvertError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for AkitaError
impl From<Error> for AkitaError
sourceimpl From<Error> for AkitaError
impl From<Error> for AkitaError
sourceimpl From<FromRowError> for AkitaError
impl From<FromRowError> for AkitaError
sourceimpl From<FromValueError> for AkitaError
impl From<FromValueError> for AkitaError
sourceimpl From<Infallible> for AkitaError
impl From<Infallible> for AkitaError
sourcefn from(err: ParseError) -> Self
fn from(err: ParseError) -> Self
Converts to this type from the input type.
sourceimpl From<UrlError> for AkitaError
impl From<UrlError> for AkitaError
Auto Trait Implementations
impl RefUnwindSafe for AkitaError
impl Send for AkitaError
impl Sync for AkitaError
impl Unpin for AkitaError
impl UnwindSafe for AkitaError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more