Trait wasmer_vbus::VirtualBusInvokable
source · pub trait VirtualBusInvokable: Debug + Send + Sync + 'static {
fn invoke(
&self,
topic: String,
format: BusDataFormat,
buf: &[u8]
) -> Result<Box<dyn VirtualBusInvocation + Sync>>;
}
Required Methods§
sourcefn invoke(
&self,
topic: String,
format: BusDataFormat,
buf: &[u8]
) -> Result<Box<dyn VirtualBusInvocation + Sync>>
fn invoke(
&self,
topic: String,
format: BusDataFormat,
buf: &[u8]
) -> Result<Box<dyn VirtualBusInvocation + Sync>>
Invokes a service within this instance