pub enum ConsignmentError {
VersionMismatch {
expected: u8,
actual: u8,
},
SchemaMismatch {
genesis_schema: Hash,
consignment_schema: Hash,
},
ContractIdMismatch,
AnchorCountMismatch {
transitions: usize,
anchors: usize,
},
}Expand description
Consignment validation errors
Variants§
VersionMismatch
Version mismatch between expected and actual consignment
SchemaMismatch
Schema ID doesn’t match between genesis and consignment
ContractIdMismatch
Contract ID inconsistency between components
AnchorCountMismatch
Transition count doesn’t match anchor count
Trait Implementations§
Source§impl Debug for ConsignmentError
impl Debug for ConsignmentError
Auto Trait Implementations§
impl Freeze for ConsignmentError
impl RefUnwindSafe for ConsignmentError
impl Send for ConsignmentError
impl Sync for ConsignmentError
impl Unpin for ConsignmentError
impl UnsafeUnpin for ConsignmentError
impl UnwindSafe for ConsignmentError
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