[][src]Struct tmkms::config::chain::ChainConfig

pub struct ChainConfig {
    pub id: Id,
    pub key_format: Format,
    pub state_file: Option<PathBuf>,
    pub state_hook: Option<HookConfig>,
}

Chain configuration

Fields

id: Id

Chain ID of this Tendermint network/chain

key_format: Format

Key serialization format configuration for this chain

state_file: Option<PathBuf>

Path to chain-specific priv_validator_state.json file

state_hook: Option<HookConfig>

User-specified command to run to obtain the current block height for this chain. This will be executed at launch time to populate the initial block height if configured

Trait Implementations

impl Debug for ChainConfig[src]

impl<'de> Deserialize<'de> for ChainConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self