Enum cquill::MigrateError
source · pub enum MigrateError {
CqlFileReadError {
filename: String,
error: String,
},
CqlQueryError {
source: QueryError,
},
HashConflict {
filename: String,
cquill_keyspace: String,
cquill_table: String,
},
HistoryUpdateFailed {
cquill_keyspace: String,
cquill_table: String,
error_state: Box<MigrateErrorState>,
},
PartialMigration {
error_state: Box<MigrateErrorState>,
},
Other {
source: Error,
},
}
Variants§
CqlFileReadError
CqlQueryError
Fields
§
source: QueryError
HashConflict
HistoryUpdateFailed
PartialMigration
Fields
§
error_state: Box<MigrateErrorState>
Other
Trait Implementations§
source§impl Debug for MigrateError
impl Debug for MigrateError
source§impl Display for MigrateError
impl Display for MigrateError
source§impl Error for MigrateError
impl Error for MigrateError
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()
Auto Trait Implementations§
impl !Freeze for MigrateError
impl !RefUnwindSafe for MigrateError
impl Send for MigrateError
impl Sync for MigrateError
impl Unpin for MigrateError
impl !UnwindSafe for MigrateError
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