pub enum OutBAction {
Log = 99,
CallFunction = 101,
Abort = 102,
DebugPrint = 103,
}Expand description
Supported actions when issuing an OUTB actions by Hyperlight. These are handled by the sandbox-level outb dispatcher.
- Log: for logging,
- CallFunction: makes a call to a host function,
- Abort: aborts the execution of the guest,
- DebugPrint: prints a message to the host
- TraceBatch: reports a batch of spans and events from the guest
- TraceMemoryAlloc: records memory allocation events
- TraceMemoryFree: records memory deallocation events
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OutBAction
impl RefUnwindSafe for OutBAction
impl Send for OutBAction
impl Sync for OutBAction
impl Unpin for OutBAction
impl UnsafeUnpin for OutBAction
impl UnwindSafe for OutBAction
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.