Trait wasmer_vbus::VirtualBusCalled
source · pub trait VirtualBusCalled: VirtualBusListener + Debug + Send + Sync + 'static {
fn callback(
&self,
topic: String,
format: BusDataFormat,
buf: &[u8]
) -> Result<()>;
fn fault(self, fault: BusError) -> Result<()>;
fn reply(self, format: BusDataFormat, buf: &[u8]) -> Result<()>;
}