[][src]Struct exonum_cli::command::run::Run

pub struct Run {
    pub node_config: PathBuf,
    pub db_path: PathBuf,
    pub public_api_address: Option<SocketAddr>,
    pub private_api_address: Option<SocketAddr>,
    pub master_key_pass: Option<PassInputMethod>,
}

Run the node with provided node config.

Fields

node_config: PathBuf

Path to a node configuration file.

db_path: PathBuf

Path to a database directory.

public_api_address: Option<SocketAddr>

Listen address for node public API.

Public API is used mainly for sending API requests to user services.

private_api_address: Option<SocketAddr>

Listen address for node private API.

Private API is used by node administrators for node monitoring and control.

master_key_pass: Option<PassInputMethod>

Passphrase entry method for master key.

Possible values are: stdin, env{:ENV_VAR_NAME}, pass:PASSWORD. Default Value is stdin. If ENV_VAR_NAME is not specified $EXONUM_MASTER_PASS is used by default.

Trait Implementations

impl ExonumCommand for Run[src]

impl Debug for Run[src]

impl StructOpt for Run[src]

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

impl Serialize for Run[src]

Auto Trait Implementations

impl Send for Run

impl Sync for Run

impl Unpin for Run

impl UnwindSafe for Run

impl RefUnwindSafe for Run

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 = !

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,