[][src]Struct rgb::rgbd::Opts

pub struct Opts {
    pub verbose: u8,
    pub bin_dir: String,
    pub data_dir: String,
    pub contracts: Vec<ContractName>,
    pub fungible_rpc_endpoint: String,
    pub fungible_pub_endpoint: String,
    pub stash_rpc_endpoint: String,
    pub stash_pub_endpoint: String,
    pub cache: String,
    pub format: DataFormat,
    pub stash: String,
    pub index: String,
    pub p2p_endpoint: String,
    pub threaded: bool,
    pub network: Chain,
    pub electrum_server: String,
}

Fields

verbose: u8

Sets verbosity level; can be used multiple times to increase verbosity

bin_dir: String

Path to the directory containing daemon executables

data_dir: String

Data directory path

contracts: Vec<ContractName>

Contract daemons to launch

fungible_rpc_endpoint: String

ZMQ socket address string for REQ/REP API of fungibled

fungible_pub_endpoint: String

ZMQ socket address string for PUB/SUB API of fungibled

stash_rpc_endpoint: String

ZMQ socket address string for REQ/REP API of stashd

stash_pub_endpoint: String

ZMQ socket address string for PUB/SUB API of stashd

cache: String

Connection string to fungibled cache (exact format depends on used storage engine)

format: DataFormat

Data format for fungibled cache storage (valid only if file storage is used)

stash: String

Connection string to stashd stash (exact format depends on used storage engine)

index: String

Connection string to indexing service

p2p_endpoint: String

LNP socket address string for P2P API of stashd

threaded: bool

Run services as threads instead of daemons

network: Chain

Bitcoin network to use

electrum_server: String

Electrum server to use to fecth Bitcoin transactions

Trait Implementations

impl Clap for Opts[src]

impl Default for Opts[src]

impl From<Opts> for Config[src]

impl FromArgMatches for Opts[src]

impl IntoApp for Opts[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> From<T> for T[src]

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

impl<T> IntoSql for 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>,