pub struct ConsignmentValidator { /* private fields */ }Expand description
Consignment validator with detailed reporting.
Implementations§
Source§impl ConsignmentValidator
impl ConsignmentValidator
Sourcepub fn validate_consignment(
self,
consignment: &Consignment,
anchor_chain: ChainId,
) -> ValidationReport
pub fn validate_consignment( self, consignment: &Consignment, anchor_chain: ChainId, ) -> ValidationReport
Validate a consignment with detailed reporting.
Sourcepub fn store(&self) -> &InMemoryStateStore
pub fn store(&self) -> &InMemoryStateStore
Get access to the state store.
Sourcepub fn seal_registry(&self) -> &CrossChainSealRegistry
pub fn seal_registry(&self) -> &CrossChainSealRegistry
Get access to the seal registry.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConsignmentValidator
impl RefUnwindSafe for ConsignmentValidator
impl Send for ConsignmentValidator
impl Sync for ConsignmentValidator
impl Unpin for ConsignmentValidator
impl UnsafeUnpin for ConsignmentValidator
impl UnwindSafe for ConsignmentValidator
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