pub struct SchemaDriftError(/* private fields */);Expand description
Typed marker for a schema-drift failure (exit 4).
Same contract as DataIntegrityError: classification rides on the type via
downcast, Display reproduces the original message verbatim. Constructed
where on_schema_drift: fail aborts the run.
Implementations§
Trait Implementations§
Source§impl Debug for SchemaDriftError
impl Debug for SchemaDriftError
Source§impl Display for SchemaDriftError
impl Display for SchemaDriftError
Source§impl Error for SchemaDriftError
impl Error for SchemaDriftError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for SchemaDriftError
impl RefUnwindSafe for SchemaDriftError
impl Send for SchemaDriftError
impl Sync for SchemaDriftError
impl Unpin for SchemaDriftError
impl UnsafeUnpin for SchemaDriftError
impl UnwindSafe for SchemaDriftError
Blanket Implementations§
impl<T> Allocation for T
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