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<()>; }

Required Methods§

Sends an out-of-band message back to the caller

Informs the caller that their call has failed

Finishes the call and returns a particular response

Implementors§