[][src]Enum xaynet::message::Payload

pub enum Payload<D, M, N> {
    Sum(Sum),
    Update(Update<D, M>),
    Sum2(Sum2<N>),
}

The payload of a Message.

Variants

Sum(Sum)

The payload of a Sum message.

Update(Update<D, M>)

The payload of an Update message.

Sum2(Sum2<N>)

The payload of a Sum2 message.

Trait Implementations

impl<D: Debug, M: Debug, N: Debug> Debug for Payload<D, M, N>[src]

impl<D: Eq, M: Eq, N: Eq> Eq for Payload<D, M, N>[src]

impl<D, M, N> From<Sum> for Payload<D, M, N>[src]

impl<D, M, N> From<Sum2<N>> for Payload<D, M, N>[src]

impl<D, M, N> From<Update<D, M>> for Payload<D, M, N>[src]

impl<D: PartialEq, M: PartialEq, N: PartialEq> PartialEq<Payload<D, M, N>> for Payload<D, M, N>[src]

impl<D, M, N> StructuralEq for Payload<D, M, N>[src]

impl<D, M, N> StructuralPartialEq for Payload<D, M, N>[src]

impl<D, M, N> ToBytes for Payload<D, M, N> where
    D: Borrow<LocalSeedDict>,
    M: Borrow<MaskObject>,
    N: Borrow<MaskObject>, 
[src]

Auto Trait Implementations

impl<D, M, N> RefUnwindSafe for Payload<D, M, N> where
    D: RefUnwindSafe,
    M: RefUnwindSafe,
    N: RefUnwindSafe

impl<D, M, N> Send for Payload<D, M, N> where
    D: Send,
    M: Send,
    N: Send

impl<D, M, N> Sync for Payload<D, M, N> where
    D: Sync,
    M: Sync,
    N: Sync

impl<D, M, N> Unpin for Payload<D, M, N> where
    D: Unpin,
    M: Unpin,
    N: Unpin

impl<D, M, N> UnwindSafe for Payload<D, M, N> where
    D: UnwindSafe,
    M: UnwindSafe,
    N: UnwindSafe

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T> WithSubscriber for T[src]