pub trait HostWasmException: Send {
// Required methods
fn get_tag(
&mut self,
self_: Resource<WasmException>,
d: Resource<Debuggee>,
) -> impl Future<Output = Result<Resource<WasmTag>>> + Send;
fn get_values(
&mut self,
self_: Resource<WasmException>,
d: Resource<Debuggee>,
) -> impl Future<Output = Result<Vec<Resource<WasmValue>>, Error>> + Send;
fn clone(
&mut self,
self_: Resource<WasmException>,
d: Resource<Debuggee>,
) -> impl Future<Output = Result<Resource<WasmException>>> + Send;
fn make(
&mut self,
d: Resource<Debuggee>,
tag: Resource<WasmTag>,
values: Vec<Resource<WasmValue>>,
) -> impl Future<Output = Result<Resource<WasmException>, Error>> + Send;
fn drop(
&mut self,
rep: Resource<WasmException>,
) -> impl Future<Output = Result<()>> + Send;
}Required Methods§
Sourcefn get_tag(
&mut self,
self_: Resource<WasmException>,
d: Resource<Debuggee>,
) -> impl Future<Output = Result<Resource<WasmTag>>> + Send
fn get_tag( &mut self, self_: Resource<WasmException>, d: Resource<Debuggee>, ) -> impl Future<Output = Result<Resource<WasmTag>>> + Send
Get the tag of this exception.
Sourcefn get_values(
&mut self,
self_: Resource<WasmException>,
d: Resource<Debuggee>,
) -> impl Future<Output = Result<Vec<Resource<WasmValue>>, Error>> + Send
fn get_values( &mut self, self_: Resource<WasmException>, d: Resource<Debuggee>, ) -> impl Future<Output = Result<Vec<Resource<WasmValue>>, Error>> + Send
Get the payload values of this exception.
Sourcefn clone(
&mut self,
self_: Resource<WasmException>,
d: Resource<Debuggee>,
) -> impl Future<Output = Result<Resource<WasmException>>> + Send
fn clone( &mut self, self_: Resource<WasmException>, d: Resource<Debuggee>, ) -> impl Future<Output = Result<Resource<WasmException>>> + Send
Clone this reference.
Sourcefn make(
&mut self,
d: Resource<Debuggee>,
tag: Resource<WasmTag>,
values: Vec<Resource<WasmValue>>,
) -> impl Future<Output = Result<Resource<WasmException>, Error>> + Send
fn make( &mut self, d: Resource<Debuggee>, tag: Resource<WasmTag>, values: Vec<Resource<WasmValue>>, ) -> impl Future<Output = Result<Resource<WasmException>, Error>> + Send
Allocate a new exception.
fn drop( &mut self, rep: Resource<WasmException>, ) -> impl Future<Output = Result<()>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl HostWasmException for ResourceTable
impl HostWasmException for ResourceTable
async fn get_tag( &mut self, self_: Resource<WasmException>, d: Resource<Debuggee>, ) -> Result<Resource<Tag>>
async fn get_values( &mut self, self_: Resource<WasmException>, d: Resource<Debuggee>, ) -> Result<Vec<Resource<WasmValue>>>
async fn clone( &mut self, self_: Resource<WasmException>, _d: Resource<Debuggee>, ) -> Result<Resource<WasmException>>
async fn make( &mut self, d: Resource<Debuggee>, tag: Resource<Tag>, values: Vec<Resource<WasmValue>>, ) -> Result<Resource<WasmException>>
async fn drop(&mut self, rep: Resource<WasmException>) -> Result<()>
Source§impl<_T: HostWasmException + ?Sized + Send> HostWasmException for &mut _T
impl<_T: HostWasmException + ?Sized + Send> HostWasmException for &mut _T
Source§fn get_tag(
&mut self,
self_: Resource<WasmException>,
d: Resource<Debuggee>,
) -> impl Future<Output = Result<Resource<WasmTag>>> + Send
fn get_tag( &mut self, self_: Resource<WasmException>, d: Resource<Debuggee>, ) -> impl Future<Output = Result<Resource<WasmTag>>> + Send
Get the tag of this exception.
Source§fn get_values(
&mut self,
self_: Resource<WasmException>,
d: Resource<Debuggee>,
) -> impl Future<Output = Result<Vec<Resource<WasmValue>>, Error>> + Send
fn get_values( &mut self, self_: Resource<WasmException>, d: Resource<Debuggee>, ) -> impl Future<Output = Result<Vec<Resource<WasmValue>>, Error>> + Send
Get the payload values of this exception.
Source§fn clone(
&mut self,
self_: Resource<WasmException>,
d: Resource<Debuggee>,
) -> impl Future<Output = Result<Resource<WasmException>>> + Send
fn clone( &mut self, self_: Resource<WasmException>, d: Resource<Debuggee>, ) -> impl Future<Output = Result<Resource<WasmException>>> + Send
Clone this reference.
Source§fn make(
&mut self,
d: Resource<Debuggee>,
tag: Resource<WasmTag>,
values: Vec<Resource<WasmValue>>,
) -> impl Future<Output = Result<Resource<WasmException>, Error>> + Send
fn make( &mut self, d: Resource<Debuggee>, tag: Resource<WasmTag>, values: Vec<Resource<WasmValue>>, ) -> impl Future<Output = Result<Resource<WasmException>, Error>> + Send
Allocate a new exception.