Expand description
This module manages the execution of the system application and the user applications in a Linera chain.
Re-exports§
pub use crate::system::SystemExecutionError;pub use crate::system::SystemExecutionStateView;pub use crate::system::SystemMessage;pub use crate::system::SystemOperation;pub use crate::system::SystemQuery;pub use crate::system::SystemResponse;
Modules§
Structs§
- Application
Call Outcome - The result of calling into a user application.
- Application
Registry View - Blob
State - The state of a blob of binary data.
- Channel
Subscription - The identifier of a channel, relative to a particular application.
- Execution
Runtime Config - Configuration options for the execution runtime available to applications.
- Execution
State View - A view accessing the execution state of a chain.
- Finalize
Context - Invalid
Wasm Runtime - Attempts to create an invalid
WasmRuntimeinstance from a string. - Message
Context - Operation
Context - Query
Context - RawExecution
Outcome - Externally visible results of an execution. These results are meant in the context of the application that created them.
- RawOutgoing
Message - A message together with routing information.
- Resource
Control Policy - A collection of prices and limits associated with block execution.
- Resource
Controller - Resource
Tracker - The resources used so far by an execution process.
- Service
Runtime Endpoint - How to interact with a long-lived service runtime.
- Service
Sync Runtime - Transaction
Tracker - Tracks oracle responses and execution outcomes of an ongoing transaction execution, as well as replayed oracle responses.
Enums§
- Execution
Error - A type for errors happening during execution.
- Execution
Outcome - Externally visible results of an execution, tagged by their application.
- Execution
Request - Requests to the execution state.
- Message
- A message to be sent and possibly executed in the receiver’s block.
- Message
Kind - The kind of outgoing message being sent.
- Operation
- An operation to be executed in a block.
- Query
- An query to be sent and possibly executed in the receiver’s block.
- Response
- The response to a query.
- Service
Runtime Request - A request to the service runtime actor.
- Wasm
Runtime - The runtime to use for running the application.
Traits§
- Base
Runtime - Contract
Runtime - Execution
Runtime Context - Requirements for the
extrafield in our state views (and notably theExecutionStateView). - Service
Runtime - User
Contract - The public entry points provided by the contract part of an application.
- User
Contract Module - A factory trait to obtain a
UserContractfrom aUserContractModule - User
Service - The public entry points provided by the service part of an application.
- User
Service Module - A factory trait to obtain a
UserServicefrom aUserServiceModule - With
Wasm Default - Trait used to select a default WasmRuntime, if one is available.
Type Aliases§
- Contract
Sync Runtime Handle - Service
Sync Runtime Handle - User
Contract Code - An implementation of
UserContractModule. - User
Contract Instance - An implementation of
UserContract. - User
Service Code - An implementation of
UserServiceModule. - User
Service Instance - An implementation of
UserService.