pub enum BusInvocationEvent {
    Callback {
        topic: String,
        format: BusDataFormat,
        data: Vec<u8>,
    },
    Response {
        format: BusDataFormat,
        data: Vec<u8>,
    },
}

Variants§

§

Callback

Fields

§topic: String

Topic that this call relates to

§format: BusDataFormat

Format of the data we received

§data: Vec<u8>

Data passed in the call

The server has sent some out-of-band data to you

§

Response

Fields

§format: BusDataFormat

Format of the data we received

§data: Vec<u8>

Data returned by the call

The service has a responded to your call

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.