pub struct Stack<N: Network> { /* private fields */ }

Implementations

Authorizes a call to the program function for the given inputs.

Deploys the given program ID, if it does not exist.

Checks each function in the program on the given verifying key and certificate.

Evaluates a program closure on the given inputs.

Errors

This method will halt if the given inputs are not the same length as the input statements.

Evaluates a program function on the given inputs.

Errors

This method will halt if the given inputs are not the same length as the input statements.

Executes a program closure on the given inputs.

Errors

This method will halt if the given inputs are not the same length as the input statements.

Executes a program function on the given inputs.

Note: To execute a transition, do not call this method. Instead, call Process::execute.

Errors

This method will halt if the given inputs are not the same length as the input statements.

Checks that the given value matches the layout of the value type.

Checks that the given stack value matches the layout of the register type.

Checks that the given record matches the layout of the external record type.

Checks that the given record matches the layout of the record type.

Checks that the given plaintext matches the layout of the plaintext type.

Returns a value for the given value type.

Returns a record for the given record name, with the given burner address.

Samples a plaintext value according to the given plaintext type.

Synthesizes the proving key and verifying key for the given function name.

Synthesizes and stores the (proving_key, verifying_key) for the given function name and assignment.

Initializes a new stack, if it does not already exist, given the process and the program.

Returns the program.

Returns the program ID.

Returns true if the stack contains the external record.

Returns the external stack for the given program ID.

Returns the external program for the given program ID.

Returns true if the stack contains the external record.

Returns the function with the given function name.

Returns the expected number of calls for the given function name.

Returns the register types for the given closure or function name.

Returns the register types for the given finalize name.

Returns true if the proving key for the given function name exists.

Returns true if the verifying key for the given function name exists.

Returns the proving key for the given function name.

Returns the verifying key for the given function name.

Inserts the given proving key for the given function name.

Inserts the given verifying key for the given function name.

Removes the proving key for the given function name.

Removes the verifying key for the given function name.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more