pub enum SchemaMigrationPayloadError {
WrongTarget {
found: u16,
expected: u16,
},
MissingPreviousHeadHash,
MissingMigrationScriptDigest,
MissingFixtureVerificationResultHash,
}Expand description
Payload validation failures for schema migration boundary events.
Variants§
WrongTarget
The payload targets a schema version other than v2.
MissingPreviousHeadHash
The previous v1 chain head hash is absent.
MissingMigrationScriptDigest
The SQL/tooling digest is absent.
MissingFixtureVerificationResultHash
The fixture verification transcript digest is absent.
Trait Implementations§
Source§impl Clone for SchemaMigrationPayloadError
impl Clone for SchemaMigrationPayloadError
Source§fn clone(&self) -> SchemaMigrationPayloadError
fn clone(&self) -> SchemaMigrationPayloadError
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 SchemaMigrationPayloadError
impl Debug for SchemaMigrationPayloadError
Source§impl Error for SchemaMigrationPayloadError
impl Error for SchemaMigrationPayloadError
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<SchemaMigrationPayloadError> for SchemaMigrationEventError
impl From<SchemaMigrationPayloadError> for SchemaMigrationEventError
Source§fn from(source: SchemaMigrationPayloadError) -> Self
fn from(source: SchemaMigrationPayloadError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SchemaMigrationPayloadError
impl PartialEq for SchemaMigrationPayloadError
Source§fn eq(&self, other: &SchemaMigrationPayloadError) -> bool
fn eq(&self, other: &SchemaMigrationPayloadError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SchemaMigrationPayloadError
impl StructuralPartialEq for SchemaMigrationPayloadError
Auto Trait Implementations§
impl Freeze for SchemaMigrationPayloadError
impl RefUnwindSafe for SchemaMigrationPayloadError
impl Send for SchemaMigrationPayloadError
impl Sync for SchemaMigrationPayloadError
impl Unpin for SchemaMigrationPayloadError
impl UnsafeUnpin for SchemaMigrationPayloadError
impl UnwindSafe for SchemaMigrationPayloadError
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