Module instance

Source

Re-exports§

pub use crate::instance::execution::KillError;
pub use crate::instance::execution::KillState;
pub use crate::instance::execution::KillSuccess;
pub use crate::instance::execution::KillSwitch;
pub use crate::instance::signals::signal_handler_none;
pub use crate::instance::signals::SignalBehavior;
pub use crate::instance::signals::SignalHandler;
pub use crate::instance::state::State;

Modules§

execution
The execution module contains state for an instance’s execution, and exposes functions building that state into something appropriate for safe use externally.
signals
state

Structs§

FaultDetails
Information about a runtime fault.
Instance
A Lucet program, together with its dedicated memory and signal handlers.
InstanceHandle
A smart pointer to an Instance that properly manages cleanup when dropped.
YieldedVal
The value yielded by an instance through a Vmctx and returned to the host.

Enums§

RunResult
The result of running or resuming an Instance.
TerminationDetails
Information about a terminated guest.

Constants§

LUCET_INSTANCE_MAGIC

Traits§

InstanceInternal
APIs that are internal, but useful to implementors of extension modules; you probably don’t want this trait!

Functions§

instance_handle_from_raw
instance_handle_to_raw
new_instance_handle
Create a new InstanceHandle.