Struct exonum::node::state::Votes [] [src]

pub struct Votes<T: VoteMessage> { /* fields omitted */ }

Contains voting messages alongside with there validator ids.

Methods

impl<T> Votes<T> where
    T: VoteMessage
[src]

[src]

Creates a new Votes instance with a specified validators number.

[src]

Inserts a new message if it hasn't been inserted yet.

[src]

Returns validators.

[src]

Returns number of contained messages.

Important traits for Vec<u8>
[src]

Returns messages.

Trait Implementations

impl<T: Debug + VoteMessage> Debug for Votes<T>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for Votes<T>

impl<T> Sync for Votes<T>