Struct vapcore_secretstore::ClusterConfiguration[][src]

pub struct ClusterConfiguration {
    pub listener_address: NodeAddress,
    pub nodes: BTreeMap<Public, NodeAddress>,
    pub key_server_set_contract_address: Option<ContractAddress>,
    pub allow_connecting_to_higher_nodes: bool,
    pub admin_public: Option<Public>,
    pub auto_migrate_enabled: bool,
}

Key server cluster configuration

Fields

listener_address: NodeAddress

This node address.

nodes: BTreeMap<Public, NodeAddress>

All cluster nodes addresses.

key_server_set_contract_address: Option<ContractAddress>

Key Server Set contract address. If None, servers from ‘nodes’ map are used.

allow_connecting_to_higher_nodes: bool

Allow outbound connections to ‘higher’ nodes. This is useful for tests, but slower a bit for production.

admin_public: Option<Public>

Administrator public key.

auto_migrate_enabled: bool

Should key servers set change session should be started when servers set changes. This will only work when servers set is configured using KeyServerSet contract.

Trait Implementations

impl Debug for ClusterConfiguration[src]

Auto Trait Implementations

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> Erased for T

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, 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>,