Enum axum_session::databases::database::DatabaseError
source ยท pub enum DatabaseError {
GenericAquire(String),
GenericInsertError(String),
GenericSelectError(String),
GenericCreateError(String),
GenericDeleteError(String),
GenericNotSupportedError(String),
}Variantsยง
GenericAquire(String)
GenericInsertError(String)
GenericSelectError(String)
GenericCreateError(String)
GenericDeleteError(String)
GenericNotSupportedError(String)
Trait Implementationsยง
sourceยงimpl Debug for DatabaseError
impl Debug for DatabaseError
sourceยงimpl Display for DatabaseError
impl Display for DatabaseError
sourceยงimpl Error for DatabaseError
impl Error for DatabaseError
1.30.0 ยท sourceยงfn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<DatabaseError> for SessionError
impl From<DatabaseError> for SessionError
sourceยงfn from(source: DatabaseError) -> Self
fn from(source: DatabaseError) -> Self
Converts to this type from the input type.
Auto Trait Implementationsยง
impl Freeze for DatabaseError
impl RefUnwindSafe for DatabaseError
impl Send for DatabaseError
impl Sync for DatabaseError
impl Unpin for DatabaseError
impl UnwindSafe for DatabaseError
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