Struct exonum_configuration::Schema [] [src]

pub struct Schema<T> { /* fields omitted */ }

Database schema used by the configuration service.

Methods

impl<T> Schema<T> where
    T: AsRef<Snapshot>, 
[src]

[src]

Creates a new schema.

[src]

Returns propose information indexed by the hash of the configuration corresponding to a proposal.

Consult the crate-level docs for details how hashes of the configuration are calculated.

[src]

Returns a table of hashes of proposed configurations in the commit order.

[src]

Returns a table of votes of validators for a particular proposal, referenced by its configuration hash.

[src]

Returns a Propose transaction with a particular configuration hash.

Important traits for Vec<u8>
[src]

Returns a list of votes for the proposal corresponding to the given configuration hash.

Important traits for Vec<u8>
[src]

Returns state hash values used by the configuration service.

Trait Implementations

impl<T: Debug> Debug for Schema<T>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for Schema<T> where
    T: Send

impl<T> Sync for Schema<T> where
    T: Sync