Struct rill_protocol::provider::WideEnvelope[][src]

pub struct WideEnvelope<T: Origin, D> {
    pub direction: Direction<T>,
    pub data: D,
}

Fields

direction: Direction<T>data: D

Trait Implementations

impl<T: Clone + Origin, D: Clone> Clone for WideEnvelope<T, D>[src]

impl<T: Debug + Origin, D: Debug> Debug for WideEnvelope<T, D>[src]

impl<'de, T: Origin, D> Deserialize<'de> for WideEnvelope<T, D> where
    T: Deserialize<'de>,
    D: Deserialize<'de>, 
[src]

impl<T: Origin, D> Serialize for WideEnvelope<T, D> where
    T: Serialize,
    D: Serialize
[src]

Auto Trait Implementations

impl<T, D> RefUnwindSafe for WideEnvelope<T, D> where
    D: RefUnwindSafe,
    T: RefUnwindSafe
[src]

impl<T, D> Send for WideEnvelope<T, D> where
    D: Send,
    T: Send
[src]

impl<T, D> Sync for WideEnvelope<T, D> where
    D: Sync,
    T: Sync
[src]

impl<T, D> Unpin for WideEnvelope<T, D> where
    D: Unpin,
    T: Unpin
[src]

impl<T, D> UnwindSafe for WideEnvelope<T, D> where
    D: UnwindSafe,
    T: UnwindSafe
[src]

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> ProtocolData for T where
    T: Serialize + DeserializeOwned + Debug + Send + 'static, 
[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.