pub struct CheckedConsignment<'consignment, C>(/* private fields */)
where
C: ConsignmentApi;Implementations§
Source§impl<'consignment, C> CheckedConsignment<'consignment, C>where
C: ConsignmentApi,
impl<'consignment, C> CheckedConsignment<'consignment, C>where
C: ConsignmentApi,
pub fn new(consignment: &'consignment C) -> CheckedConsignment<'consignment, C>
Trait Implementations§
Source§impl<C> ConsignmentApi for CheckedConsignment<'_, C>where
C: ConsignmentApi,
impl<C> ConsignmentApi for CheckedConsignment<'_, C>where
C: ConsignmentApi,
Source§fn types(&self) -> &TypeSystem
fn types(&self) -> &TypeSystem
Returns reference to the type system.
Source§fn scripts(&self) -> impl Iterator<Item = &Lib>
fn scripts(&self) -> impl Iterator<Item = &Lib>
Returns reference to a collection of AluVM libraries used for the
validation.
Source§fn bundles_info(
&self,
) -> impl Iterator<Item = (&TransitionBundle, &Anchor<DbcProof>, Txid)>
fn bundles_info( &self, ) -> impl Iterator<Item = (&TransitionBundle, &Anchor<DbcProof>, Txid)>
Returns iterator over all bundle information in the consignment
Source§fn bundle_ids<'iter>(&self) -> impl Iterator<Item = BundleId> + 'iter
fn bundle_ids<'iter>(&self) -> impl Iterator<Item = BundleId> + 'iter
Returns iterator over all bundle ids present in the consignment.
Auto Trait Implementations§
impl<'consignment, C> Freeze for CheckedConsignment<'consignment, C>
impl<'consignment, C> RefUnwindSafe for CheckedConsignment<'consignment, C>where
C: RefUnwindSafe,
impl<'consignment, C> Send for CheckedConsignment<'consignment, C>where
C: Sync,
impl<'consignment, C> Sync for CheckedConsignment<'consignment, C>where
C: Sync,
impl<'consignment, C> Unpin for CheckedConsignment<'consignment, C>
impl<'consignment, C> UnwindSafe for CheckedConsignment<'consignment, C>where
C: RefUnwindSafe,
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