pub enum Event {
Complete,
Trap,
Breakpoint,
Interrupted,
CaughtExceptionThrown(Resource<WasmException>),
UncaughtExceptionThrown(Resource<WasmException>),
InjectedCallReturn(Vec<Resource<WasmValue>>),
}Expand description
A debug event.
Variants§
Complete
Execution of the debuggee has completed.
Trap
A trap occurred in the debuggee. Execution is paused at the trap-point, and will terminate when resuming execution.
Breakpoint
A breakpoint was hit in the debuggee, pausing execution.
Interrupted
An interruption due to debuggee.interrupt occurred.
CaughtExceptionThrown(Resource<WasmException>)
An exception was thrown and caught by Wasm.
UncaughtExceptionThrown(Resource<WasmException>)
An exception was thrown and not caught by Wasm.
InjectedCallReturn(Vec<Resource<WasmValue>>)
An injected call completed with return value(s).
Trait Implementations§
impl ComponentType for Event
impl Lift for Event
impl Lower for Event
Auto Trait Implementations§
impl !Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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
Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self file descriptor. Read more