Skip to main content

Module model

Module model 

Source

Structs§

DriveSpec
Additional drive beyond the rootfs.
NetworkInterface
Network interface attached to a VM.
RateLimiter
Firecracker RateLimiter config, applicable to drives and network interfaces.
SnapshotRef
Reference to a snapshot used to restore a VM.
TokenBucket
Token bucket parameters. Caller specifies refill_time_ms; serialization translates to Firecracker’s refill_time (also in ms — but we keep the suffix explicit on our side to avoid the “is this seconds?” question).
VmSpec
Per-VM configuration override. Every field is optional; None falls back to the provider’s workspace-level default (e.g. FirecrackerConfig).
VmView
Read-only snapshot of a microVM’s current state.
VsockSpec
Vsock device config.

Enums§

VmStatus
Current lifecycle state of a microVM.