[][src]Struct wascc_codec::messaging::RequestMessage

pub struct RequestMessage {
    pub subject: String,
    pub body: Vec<u8>,
    pub timeout_ms: i64,
}

A request for the broker to make a request-and-reply publication. Inbox management is handled by the plugin implementation, not by the guest module

Fields

subject: String

Subject on which message is published

body: Vec<u8>

The body of the message

timeout_ms: i64

Timeout, in milliseconds, to await a response

Trait Implementations

impl Clone for RequestMessage[src]

impl Debug for RequestMessage[src]

impl Default for RequestMessage[src]

impl<'_> Into<RequestMessage> for &'_ [u8][src]

impl Message for RequestMessage[src]

impl PartialEq<RequestMessage> for RequestMessage[src]

impl StructuralPartialEq for RequestMessage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.