[][src]Struct brb_membership::brb_membership::Vote

pub struct Vote<A: Ord, S: Ord> {
    pub gen: Generation,
    pub ballot: Ballot<A, S>,
    pub voter: A,
    pub sig: S,
}

Fields

gen: Generationballot: Ballot<A, S>voter: Asig: S

Implementations

impl<A, S> Vote<A, S> where
    A: Ord + Clone,
    S: Ord + Clone
[src]

Trait Implementations

impl<A: Clone + Ord, S: Clone + Ord> Clone for Vote<A, S>[src]

impl<A, S> Debug for Vote<A, S> where
    A: Ord + Debug,
    S: Ord + Debug
[src]

impl<'de, A: Ord, S: Ord> Deserialize<'de> for Vote<A, S> where
    A: Deserialize<'de>,
    S: Deserialize<'de>, 
[src]

impl<A: Eq + Ord, S: Eq + Ord> Eq for Vote<A, S>[src]

impl<A: Ord, S: Ord> Ord for Vote<A, S>[src]

impl<A: PartialEq + Ord, S: PartialEq + Ord> PartialEq<Vote<A, S>> for Vote<A, S>[src]

impl<A: PartialOrd + Ord, S: PartialOrd + Ord> PartialOrd<Vote<A, S>> for Vote<A, S>[src]

impl<A: Ord, S: Ord> Serialize for Vote<A, S> where
    A: Serialize,
    S: Serialize
[src]

impl<A: Ord, S: Ord> StructuralEq for Vote<A, S>[src]

impl<A: Ord, S: Ord> StructuralPartialEq for Vote<A, S>[src]

Auto Trait Implementations

impl<A, S> RefUnwindSafe for Vote<A, S> where
    A: RefUnwindSafe,
    S: RefUnwindSafe
[src]

impl<A, S> Send for Vote<A, S> where
    A: Send,
    S: Send
[src]

impl<A, S> Sync for Vote<A, S> where
    A: Sync,
    S: Sync
[src]

impl<A, S> Unpin for Vote<A, S> where
    A: Unpin,
    S: Unpin
[src]

impl<A, S> UnwindSafe for Vote<A, S> where
    A: RefUnwindSafe + UnwindSafe,
    S: RefUnwindSafe + 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> 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>,