[][src]Struct xaynet::message::Sum2

pub struct Sum2<M> {
    pub sum_signature: ParticipantTaskSignature,
    pub mask: M,
}

A high level representation of a sum2 message.

These messages are sent by sum participants during the sum2 phase.

Fields

sum_signature: ParticipantTaskSignature

The signature of the round seed and the word "sum".

This is used to determine whether a participant is selected for the sum task.

mask: M

A mask computed by the participant.

Trait Implementations

impl<M: Clone> Clone for Sum2<M>[src]

impl<M: Debug> Debug for Sum2<M>[src]

impl<M: Eq> Eq for Sum2<M>[src]

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

impl<M: PartialEq> PartialEq<Sum2<M>> for Sum2<M>[src]

impl<M> StructuralEq for Sum2<M>[src]

impl<M> StructuralPartialEq for Sum2<M>[src]

impl<M> ToBytes for Sum2<M> where
    M: Borrow<MaskObject>, 
[src]

Auto Trait Implementations

impl<M> RefUnwindSafe for Sum2<M> where
    M: RefUnwindSafe

impl<M> Send for Sum2<M> where
    M: Send

impl<M> Sync for Sum2<M> where
    M: Sync

impl<M> Unpin for Sum2<M> where
    M: Unpin

impl<M> UnwindSafe for Sum2<M> where
    M: 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> 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.

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

impl<T> WithSubscriber for T[src]