pub trait ProviderCallContext: ModuleHost {
    // Required method
    fn init(
        &mut self,
        host_buffer_size: u32,
        guest_buffer_size: u32
    ) -> Result<(), Error>;
}
Expand description

The trait implemented by a context for a call or set of calls.

Required Methods§

source

fn init( &mut self, host_buffer_size: u32, guest_buffer_size: u32 ) -> Result<(), Error>

Initialize the call context.

Implementors§