pub struct OfflineExecution<N: Network> { /* private fields */ }
Expand description
Offline Execution of a program
Implementations§
source§impl<N: Network> OfflineExecution<N>
impl<N: Network> OfflineExecution<N>
sourcepub fn execution_id(&self) -> Result<Field<N>>
pub fn execution_id(&self) -> Result<Field<N>>
Get the execution id
sourcepub fn execution_proof(&self) -> Option<&Proof<N>>
pub fn execution_proof(&self) -> Option<&Proof<N>>
Get the execution proof
Trait Implementations§
Auto Trait Implementations§
impl<N> RefUnwindSafe for OfflineExecution<N>where N: UnwindSafe + RefUnwindSafe, <N as Network>::BlockHash: UnwindSafe + RefUnwindSafe, <N as Environment>::Field: UnwindSafe + RefUnwindSafe, <<N as Environment>::PairingCurve as PairingEngine>::G1Affine: RefUnwindSafe, <N as Environment>::Projective: UnwindSafe + RefUnwindSafe, <N as Environment>::Scalar: RefUnwindSafe, <N as Network>::StateRoot: UnwindSafe + RefUnwindSafe, <N as Network>::TransactionID: UnwindSafe + RefUnwindSafe, <N as Network>::TransitionID: RefUnwindSafe,
impl<N> Send for OfflineExecution<N>
impl<N> Sync for OfflineExecution<N>
impl<N> Unpin for OfflineExecution<N>where N: Unpin, <N as Network>::BlockHash: Unpin, <N as Environment>::Field: Unpin, <<N as Environment>::PairingCurve as PairingEngine>::G1Affine: Unpin, <N as Environment>::Projective: Unpin, <N as Environment>::Scalar: Unpin, <N as Network>::StateRoot: Unpin, <N as Network>::TransactionID: Unpin, <N as Network>::TransitionID: Unpin,
impl<N> UnwindSafe for OfflineExecution<N>where N: UnwindSafe, <N as Network>::BlockHash: UnwindSafe, <N as Environment>::Field: UnwindSafe + RefUnwindSafe, <<N as Environment>::PairingCurve as PairingEngine>::G1Affine: UnwindSafe + RefUnwindSafe, <N as Environment>::Projective: UnwindSafe, <N as Environment>::Scalar: UnwindSafe, <N as Network>::StateRoot: UnwindSafe, <N as Network>::TransactionID: UnwindSafe, <N as Network>::TransitionID: UnwindSafe,
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