[][src]Struct ra_common::Envelope

pub struct Envelope {
    pub id: u64,
    pub slip: Slip,
    pub man_con: ManCon,
    pub delay_until: u64,
    pub min_delay: u64,
    pub max_delay: u64,
    pub headers: HashMap<String, String>,
    pub payload: HashMap<String, String>,
}

Fields

id: u64slip: Slip

A stack-based routing slip that can be added to at any time prior to completion.

man_con: ManCon

The minimal ManCon for this message

delay_until: u64

Delay Until this time in milliseconds since epoch. If min_delay and max_delay also included, include a random delay after delay_until based on their range.

min_delay: u64

Delay for this many milliseconds as a minimum

max_delay: u64

Delay for this many milliseconds as a maximum

headers: HashMap<String, String>

Meta-data used for assisting with routing

payload: HashMap<String, String>

Data being sent to a destination

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, 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,