pub enum SandboxExit {
Success,
Failure {
code: u64,
},
FuelExhausted,
Trap {
message: String,
},
}Expand description
How the guest ended. Every variant is a fact about the guest — the host never hides a guest failure behind a success.
Variants§
Trait Implementations§
Source§impl Clone for SandboxExit
impl Clone for SandboxExit
Source§impl Debug for SandboxExit
impl Debug for SandboxExit
impl Eq for SandboxExit
Source§impl PartialEq for SandboxExit
impl PartialEq for SandboxExit
impl StructuralPartialEq for SandboxExit
Auto Trait Implementations§
impl Freeze for SandboxExit
impl RefUnwindSafe for SandboxExit
impl Send for SandboxExit
impl Sync for SandboxExit
impl Unpin for SandboxExit
impl UnsafeUnpin for SandboxExit
impl UnwindSafe for SandboxExit
Blanket Implementations§
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