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::SystemExecutionStateView;
pub use crate::system::SystemMessage;
pub use crate::system::SystemOperation;
pub use crate::system::SystemQuery;
pub use crate::system::SystemResponse;
Modules§
Structs§
- Blob
State - The state of a blob of binary data.
- 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
WasmRuntime
instance from a string. - Message
Context - Operation
Context - Outgoing
Message - A posted message together with routing information.
- Query
Context - Query
Outcome - The outcome of the execution of a query.
- 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
Outcome - The
TransactionTracker
contents after a transaction has finished. - Transaction
Tracker - Tracks oracle responses and execution outcomes of an ongoing transaction execution, as well as replayed oracle responses.
- User
Contract Code - An implementation of
UserContractModule
. - User
Service Code - An implementation of
UserServiceModule
.
Enums§
- EvmRuntime
- Execution
Error - A type for errors happening during execution.
- 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.
- Query
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
extra
field 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
UserContract
from aUserContractModule
- User
Service - The public entry points provided by the service part of an application.
- User
Service Module - A factory trait to obtain a
UserService
from 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 Instance - An implementation of
UserContract
. - User
Service Instance - An implementation of
UserService
.