pub enum DeltaError {
Contract(Diagnostic),
Schema(SchemaDiagnostics),
}Expand description
A structured failure from contract checks or schema resolution.
Variants§
Contract(Diagnostic)
A protocol-level delta or replay invariant failed.
Schema(SchemaDiagnostics)
Declared-schema construction or resolution failed.
Trait Implementations§
Source§impl Clone for DeltaError
impl Clone for DeltaError
Source§fn clone(&self) -> DeltaError
fn clone(&self) -> DeltaError
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 DeltaError
impl Debug for DeltaError
impl Eq for DeltaError
Source§impl From<DeltaError> for SchemaAuthorityError
impl From<DeltaError> for SchemaAuthorityError
Source§fn from(value: DeltaError) -> Self
fn from(value: DeltaError) -> Self
Converts to this type from the input type.
Source§impl From<Diagnostic> for DeltaError
impl From<Diagnostic> for DeltaError
Source§fn from(value: Diagnostic) -> Self
fn from(value: Diagnostic) -> Self
Converts to this type from the input type.
Source§impl From<SchemaDiagnostics> for DeltaError
impl From<SchemaDiagnostics> for DeltaError
Source§fn from(value: SchemaDiagnostics) -> Self
fn from(value: SchemaDiagnostics) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeltaError
impl PartialEq for DeltaError
impl StructuralPartialEq for DeltaError
Auto Trait Implementations§
impl Freeze for DeltaError
impl RefUnwindSafe for DeltaError
impl Send for DeltaError
impl Sync for DeltaError
impl Unpin for DeltaError
impl UnsafeUnpin for DeltaError
impl UnwindSafe for DeltaError
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