[][src]Enum zebrad::commands::ZebradCmd

pub enum ZebradCmd {
    Generate(GenerateCmd),
    Help(Help<Self>),
    Revhex(RevhexCmd),
    Seed(SeedCmd),
    Start(StartCmd),
    Version(VersionCmd),
}

Zebrad Subcommands

Variants

Generate(GenerateCmd)

The generate subcommand

Help(Help<Self>)

The help subcommand

Revhex(RevhexCmd)

The revhex subcommand

Seed(SeedCmd)

The seed subcommand

Start(StartCmd)

The start subcommand

Version(VersionCmd)

The version subcommand

Implementations

impl ZebradCmd[src]

pub(crate) fn is_server(&self) -> bool[src]

Returns true if this command is a server command.

For example, Start acts as a Zcash node.

Trait Implementations

impl Command for ZebradCmd[src]

fn name() -> &'static str[src]

Name of this program as a string

fn description() -> &'static str[src]

Description of this program

fn version() -> &'static str[src]

Version of this program

fn authors() -> &'static str[src]

Authors of this program

fn subcommand_usage(command: &str) -> Option<Usage>[src]

get usage information for the named subcommand

impl Configurable<ZebradConfig> for ZebradCmd[src]

This trait allows you to define how application configuration is loaded.

fn config_path(&self) -> Option<PathBuf>[src]

Location of the configuration file

fn process_config(
    &self,
    config: ZebradConfig
) -> Result<ZebradConfig, FrameworkError>
[src]

Apply changes to the config after it's been loaded, e.g. overriding values in a config file using command-line options.

This can be safely deleted if you don't want to override config settings from command-line options.

impl Debug for ZebradCmd[src]

impl Options for ZebradCmd[src]

impl Runnable for ZebradCmd[src]

Auto Trait Implementations

impl RefUnwindSafe for ZebradCmd

impl Send for ZebradCmd

impl Sync for ZebradCmd

impl Unpin for ZebradCmd

impl UnwindSafe for ZebradCmd

Blanket Implementations

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

impl<T> AsAny for T where
    T: Any
[src]

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

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

impl<T> Conv for T

impl<T> Erased for T

impl<T> FmtForward for T

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

impl<T> Instrument for T[src]

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

impl<D> OwoColorize for D

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

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

impl<T> WithSubscriber for T[src]