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

Implementations

Returns an additional fee given the credits record and the additional fee amount (in gates).

Verifies the given additional fee is valid.

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

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

Verifies the given deployment is well-formed.

Finalizes the deployment. This method assumes the given deployment is valid.

Evaluates a program function on the given request.

Executes the given authorization.

Verifies the given execution is valid.

Finalizes the execution. This method assumes the given execution is valid.

Initializes a new process.

Adds a new program to the process. If you intend to execute the program, use deploy and finalize_deployment instead.

Initializes a new process.

Returns the universal SRS.

Returns true if the process contains the program with the given ID.

Returns the stack for the given program ID.

Returns the program for the given program ID.

Returns the proving key for the given program ID and function name.

Returns the verifying key for the given program ID and function name.

Inserts the given proving key, for the given program ID and function name.

Inserts the given verifying key, for the given program ID and function name.

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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. 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

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