Module rpc_interface

Module rpc_interface 

Source
Expand description

microVM RPC API adapters.

Structs§

PrebootApiController
Enables pre-boot setup and instantiation of a Firecracker VMM.
RuntimeApiController
Enables RPC interaction with a running Firecracker VMM.

Enums§

BuildMicrovmFromRequestsError
Error type for PrebootApiController::build_microvm_from_requests.
LoadSnapshotError
Error type for PrebootApiController::load_snapshot
VmmAction
This enum represents the public interface of the VMM. Each action contains various bits of information (ids, paths, etc.).
VmmActionError
Wrapper for all errors associated with VMM actions.
VmmData
The enum represents the response sent by the VMM in case of success. The response is either empty, when no data needs to be sent, or an internal VMM structure.

Type Aliases§

ApiRequest
Shorthand type for a request containing a boxed VmmAction.
ApiResponse
Shorthand type for a response containing a boxed Result.