[][src]Struct ckb_app_config::Setup

pub struct Setup {
    pub subcommand_name: String,
    pub config: AppConfig,
    pub is_sentry_enabled: bool,
}

Fields

subcommand_name: Stringconfig: AppConfigis_sentry_enabled: bool

Implementations

impl Setup[src]

pub fn from_matches<'m>(matches: &ArgMatches<'m>) -> Result<Setup, ExitCode>[src]

pub fn run<'m>(self, matches: &ArgMatches<'m>) -> Result<RunArgs, ExitCode>[src]

pub fn miner<'m>(self, matches: &ArgMatches<'m>) -> Result<MinerArgs, ExitCode>[src]

pub fn replay<'m>(
    self,
    matches: &ArgMatches<'m>
) -> Result<ReplayArgs, ExitCode>
[src]

pub fn stats<'m>(self, matches: &ArgMatches<'m>) -> Result<StatsArgs, ExitCode>[src]

pub fn import<'m>(
    self,
    matches: &ArgMatches<'m>
) -> Result<ImportArgs, ExitCode>
[src]

pub fn export<'m>(
    self,
    matches: &ArgMatches<'m>
) -> Result<ExportArgs, ExitCode>
[src]

pub fn init<'m>(matches: &ArgMatches<'m>) -> Result<InitArgs, ExitCode>[src]

pub fn reset_data<'m>(
    self,
    matches: &ArgMatches<'m>
) -> Result<ResetDataArgs, ExitCode>
[src]

pub fn root_dir_from_matches<'m>(
    matches: &ArgMatches<'m>
) -> Result<PathBuf, ExitCode>
[src]

pub fn consensus(&self) -> Result<Consensus, ExitCode>[src]

pub fn peer_id<'m>(matches: &ArgMatches<'m>) -> Result<PeerIDArgs, ExitCode>[src]

pub fn gen<'m>(matches: &ArgMatches<'m>) -> Result<(), ExitCode>[src]

Auto Trait Implementations

impl RefUnwindSafe for Setup

impl Send for Setup

impl Sync for Setup

impl Unpin for Setup

impl UnwindSafe for Setup

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> 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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

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