pub enum MigrationPreviewError {
Diagnostic(Diagnostic),
Lowering(SchemaLoweringDiagnostic),
}Expand description
Failure rendering a review-only TypeQL preview for a generated manifest.
Variants§
Diagnostic(Diagnostic)
Verification or replay of the manifest steps failed.
Lowering(SchemaLoweringDiagnostic)
Provider lowering rejected a statement unit.
Trait Implementations§
Source§impl Clone for MigrationPreviewError
impl Clone for MigrationPreviewError
Source§fn clone(&self) -> MigrationPreviewError
fn clone(&self) -> MigrationPreviewError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MigrationPreviewError
impl Debug for MigrationPreviewError
Source§impl Display for MigrationPreviewError
impl Display for MigrationPreviewError
Source§impl Error for MigrationPreviewError
impl Error for MigrationPreviewError
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()
Source§impl From<Diagnostic> for MigrationPreviewError
impl From<Diagnostic> for MigrationPreviewError
Source§fn from(value: Diagnostic) -> Self
fn from(value: Diagnostic) -> Self
Converts to this type from the input type.
Source§impl From<SchemaLoweringDiagnostic> for MigrationPreviewError
impl From<SchemaLoweringDiagnostic> for MigrationPreviewError
Source§fn from(value: SchemaLoweringDiagnostic) -> Self
fn from(value: SchemaLoweringDiagnostic) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MigrationPreviewError
impl RefUnwindSafe for MigrationPreviewError
impl Send for MigrationPreviewError
impl Sync for MigrationPreviewError
impl Unpin for MigrationPreviewError
impl UnsafeUnpin for MigrationPreviewError
impl UnwindSafe for MigrationPreviewError
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