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
Sourcepub fn public_outputs(&self) -> Option<Vec<Value<N>>>
pub fn public_outputs(&self) -> Option<Vec<Value<N>>>
Get public outputs
Trait Implementations§
Auto Trait Implementations§
impl<N> !Freeze for OfflineExecution<N>
impl<N> RefUnwindSafe for OfflineExecution<N>where
Execution<N>: RefUnwindSafe,
Option<Response<N>>: RefUnwindSafe,
Trace<N>: RefUnwindSafe,
Option<Vec<Value<N>>>: RefUnwindSafe,
impl<N> Send for OfflineExecution<N>
impl<N> Sync for OfflineExecution<N>
impl<N> Unpin for OfflineExecution<N>
impl<N> UnsafeUnpin for OfflineExecution<N>where
Execution<N>: UnsafeUnpin,
Option<Response<N>>: UnsafeUnpin,
Trace<N>: UnsafeUnpin,
Option<Vec<Value<N>>>: UnsafeUnpin,
impl<N> UnwindSafe for OfflineExecution<N>where
Execution<N>: UnwindSafe,
Option<Response<N>>: UnwindSafe,
Trace<N>: UnwindSafe,
Option<Vec<Value<N>>>: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more