[−][src]Struct ckb_app_config::Setup
Fields
subcommand_name: String
config: AppConfig
is_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]
self,
matches: &ArgMatches<'m>
) -> Result<ReplayArgs, ExitCode>
pub fn stats<'m>(self, matches: &ArgMatches<'m>) -> Result<StatsArgs, ExitCode>
[src]
pub fn import<'m>(
self,
matches: &ArgMatches<'m>
) -> Result<ImportArgs, ExitCode>
[src]
self,
matches: &ArgMatches<'m>
) -> Result<ImportArgs, ExitCode>
pub fn export<'m>(
self,
matches: &ArgMatches<'m>
) -> Result<ExportArgs, ExitCode>
[src]
self,
matches: &ArgMatches<'m>
) -> Result<ExportArgs, ExitCode>
pub fn init<'m>(matches: &ArgMatches<'m>) -> Result<InitArgs, ExitCode>
[src]
pub fn reset_data<'m>(
self,
matches: &ArgMatches<'m>
) -> Result<ResetDataArgs, ExitCode>
[src]
self,
matches: &ArgMatches<'m>
) -> Result<ResetDataArgs, ExitCode>
pub fn root_dir_from_matches<'m>(
matches: &ArgMatches<'m>
) -> Result<PathBuf, ExitCode>
[src]
matches: &ArgMatches<'m>
) -> Result<PathBuf, ExitCode>
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]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,