[][src]Struct rhododendron::LocalizedProposal

pub struct LocalizedProposal<C, D, V, S> {
    pub round_number: u32,
    pub proposal: C,
    pub digest: D,
    pub sender: V,
    pub digest_signature: S,
    pub full_signature: S,
}

A localized proposal message. Contains two signed pieces of data.

Fields

round_number: u32

The round number.

proposal: C

The proposal sent.

digest: D

The digest of the proposal.

sender: V

The sender of the proposal

digest_signature: S

The signature on the message (propose, round number, digest)

full_signature: S

The signature on the message (propose, round number, proposal)

Trait Implementations

impl<C: Clone, D: Clone, V: Clone, S: Clone> Clone for LocalizedProposal<C, D, V, S>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<C: Debug, D: Debug, V: Debug, S: Debug> Debug for LocalizedProposal<C, D, V, S>[src]

Auto Trait Implementations

impl<C, D, V, S> Sync for LocalizedProposal<C, D, V, S> where
    C: Sync,
    D: Sync,
    S: Sync,
    V: Sync

impl<C, D, V, S> Send for LocalizedProposal<C, D, V, S> where
    C: Send,
    D: Send,
    S: Send,
    V: Send

impl<C, D, V, S> Unpin for LocalizedProposal<C, D, V, S> where
    C: Unpin,
    D: Unpin,
    S: Unpin,
    V: Unpin

impl<C, D, V, S> RefUnwindSafe for LocalizedProposal<C, D, V, S> where
    C: RefUnwindSafe,
    D: RefUnwindSafe,
    S: RefUnwindSafe,
    V: RefUnwindSafe

impl<C, D, V, S> UnwindSafe for LocalizedProposal<C, D, V, S> where
    C: UnwindSafe,
    D: UnwindSafe,
    S: UnwindSafe,
    V: UnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]