Viewable

Trait Viewable 

Source
pub trait Viewable {
    type View;

    // Required method
    fn view(&self) -> Self::View;
}
Expand description

Viewable is a trait that provides access to the view (round) number. Any consensus message or object that is associated with a specific view should implement this.

Required Associated Types§

Source

type View

View is the type used to indicate the in-progress consensus decision.

Required Methods§

Source

fn view(&self) -> Self::View

Returns the view associated with this object.

Implementors§

Source§

impl<D: Digest> Viewable for commonware_consensus::simplex::types::Proposal<D>

Source§

impl<D: Digest> Viewable for commonware_consensus::threshold_simplex::types::Proposal<D>

Source§

impl<S: CSignature> Viewable for commonware_consensus::simplex::types::Nullification<S>

Source§

impl<S: CSignature> Viewable for commonware_consensus::simplex::types::Nullify<S>

Source§

impl<S: CSignature, D: Digest> Viewable for commonware_consensus::simplex::types::Activity<S, D>

Source§

impl<S: CSignature, D: Digest> Viewable for commonware_consensus::simplex::types::Voter<S, D>

Source§

impl<S: CSignature, D: Digest> Viewable for commonware_consensus::simplex::types::ConflictingFinalize<S, D>

Source§

impl<S: CSignature, D: Digest> Viewable for commonware_consensus::simplex::types::ConflictingNotarize<S, D>

Source§

impl<S: CSignature, D: Digest> Viewable for commonware_consensus::simplex::types::Finalization<S, D>

Source§

impl<S: CSignature, D: Digest> Viewable for commonware_consensus::simplex::types::Finalize<S, D>

Source§

impl<S: CSignature, D: Digest> Viewable for commonware_consensus::simplex::types::Notarization<S, D>

Source§

impl<S: CSignature, D: Digest> Viewable for commonware_consensus::simplex::types::Notarize<S, D>

Source§

impl<S: CSignature, D: Digest> Viewable for commonware_consensus::simplex::types::NullifyFinalize<S, D>

Source§

impl<V: Variant> Viewable for commonware_consensus::threshold_simplex::types::Nullification<V>

Source§

impl<V: Variant> Viewable for commonware_consensus::threshold_simplex::types::Nullify<V>

Source§

impl<V: Variant> Viewable for Seed<V>

Source§

impl<V: Variant, D: Digest> Viewable for commonware_consensus::threshold_simplex::types::Activity<V, D>

Source§

impl<V: Variant, D: Digest> Viewable for commonware_consensus::threshold_simplex::types::Voter<V, D>

Source§

impl<V: Variant, D: Digest> Viewable for commonware_consensus::threshold_simplex::types::ConflictingFinalize<V, D>

Source§

impl<V: Variant, D: Digest> Viewable for commonware_consensus::threshold_simplex::types::ConflictingNotarize<V, D>

Source§

impl<V: Variant, D: Digest> Viewable for commonware_consensus::threshold_simplex::types::Finalization<V, D>

Source§

impl<V: Variant, D: Digest> Viewable for commonware_consensus::threshold_simplex::types::Finalize<V, D>

Source§

impl<V: Variant, D: Digest> Viewable for commonware_consensus::threshold_simplex::types::Notarization<V, D>

Source§

impl<V: Variant, D: Digest> Viewable for commonware_consensus::threshold_simplex::types::Notarize<V, D>

Source§

impl<V: Variant, D: Digest> Viewable for commonware_consensus::threshold_simplex::types::NullifyFinalize<V, D>