pub enum DbBuilderError {
DbInserterError(DbInserterError),
CannotCreateDatabase(ConnectionError),
CannotExtractTempPath,
MigrationsError(RunMigrationsError),
}
Variants§
DbInserterError(DbInserterError)
CannotCreateDatabase(ConnectionError)
CannotExtractTempPath
MigrationsError(RunMigrationsError)
Trait Implementations§
source§impl Debug for DbBuilderError
impl Debug for DbBuilderError
source§impl Display for DbBuilderError
impl Display for DbBuilderError
source§impl Error for DbBuilderError
impl Error for DbBuilderError
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<ConnectionError> for DbBuilderError
impl From<ConnectionError> for DbBuilderError
source§impl From<DbBuilderError> for ServerBootstrapperError
impl From<DbBuilderError> for ServerBootstrapperError
source§fn from(source: DbBuilderError) -> Self
fn from(source: DbBuilderError) -> Self
Converts to this type from the input type.
source§impl From<DbInserterError> for DbBuilderError
impl From<DbInserterError> for DbBuilderError
source§fn from(source: DbInserterError) -> Self
fn from(source: DbInserterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DbBuilderError
impl Send for DbBuilderError
impl Sync for DbBuilderError
impl Unpin for DbBuilderError
impl !UnwindSafe for DbBuilderError
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