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§
- The result of calling into a user application.
- The state of a blob of binary data.
- The identifier of a channel, relative to a particular application.
- Configuration options for the execution runtime available to applications.
- A view accessing the execution state of a chain.
- Attempts to create an invalid
WasmRuntime
instance from a string. - Externally visible results of an execution. These results are meant in the context of the application that created them.
- A message together with routing information.
- A collection of prices and limits associated with block execution.
- The resources used so far by an execution process.
- How to interact with a long-lived service runtime.
- Tracks oracle responses and execution outcomes of an ongoing transaction execution, as well as replayed oracle responses.
Enums§
- A type for errors happening during execution.
- Externally visible results of an execution, tagged by their application.
- Requests to the execution state.
- A message to be sent and possibly executed in the receiver’s block.
- The kind of outgoing message being sent.
- An operation to be executed in a block.
- An query to be sent and possibly executed in the receiver’s block.
- The response to a query.
- A request to the service runtime actor.
- The runtime to use for running the application.
Traits§
- Requirements for the
extra
field in our state views (and notably theExecutionStateView
). - The public entry points provided by the contract part of an application.
- A factory trait to obtain a
UserContract
from aUserContractModule
- The public entry points provided by the service part of an application.
- A factory trait to obtain a
UserService
from aUserServiceModule
- Trait used to select a default WasmRuntime, if one is available.
Type Aliases§
- An implementation of
UserContractModule
. - An implementation of
UserContract
. - An implementation of
UserServiceModule
. - An implementation of
UserService
.