[][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 provider implementation, not by the actor

Fields

subject: String

Subject on which to publish the request

body: Vec<u8>

Raw body of the request message

timeout_ms: i64

The timeout (milliseconds) to await a reply before giving up

Trait Implementations

impl Debug for RequestMessage[src]

impl<'de> Deserialize<'de> for RequestMessage[src]

impl PartialEq<RequestMessage> for RequestMessage[src]

impl Sample for RequestMessage[src]

impl Serialize 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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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.