Struct node_inspect::cli::InspectCmd [−][src]
The inspect command used to print decoded chain data.
Fields
command: InspectSubCmdimport_params: ImportParamsImplementations
impl InspectCmd[src]
pub fn run<B, RA, EX>(&self, config: Configuration) -> Result<()> where
B: Block,
B::Hash: FromStr,
RA: Send + Sync + 'static,
EX: NativeExecutionDispatch + 'static, [src]
B: Block,
B::Hash: FromStr,
RA: Send + Sync + 'static,
EX: NativeExecutionDispatch + 'static,
Run the inspect command, passing the inspector.
Trait Implementations
impl CliConfiguration<()> for InspectCmd[src]
fn shared_params(&self) -> &SharedParams[src]
fn import_params(&self) -> Option<&ImportParams>[src]
pub fn pruning_params(&self) -> Option<&PruningParams>[src]
pub fn keystore_params(&self) -> Option<&KeystoreParams>[src]
pub fn network_params(&self) -> Option<&NetworkParams>[src]
pub fn offchain_worker_params(&self) -> Option<&OffchainWorkerParams>[src]
pub fn node_key_params(&self) -> Option<&NodeKeyParams>[src]
pub fn database_params(&self) -> Option<&DatabaseParams>[src]
pub fn base_path(&self) -> Result<Option<BasePath>, Error>[src]
pub fn is_dev(&self) -> Result<bool, Error>[src]
pub fn role(&self, _is_dev: bool) -> Result<Role, Error>[src]
pub fn transaction_pool(&self) -> Result<Options, Error>[src]
pub fn network_config(
&self,
chain_spec: &Box<dyn ChainSpec + 'static, Global>,
is_dev: bool,
net_config_dir: PathBuf,
client_id: &str,
node_name: &str,
node_key: NodeKeyConfig,
default_listen_port: u16
) -> Result<NetworkConfiguration, Error>[src]
&self,
chain_spec: &Box<dyn ChainSpec + 'static, Global>,
is_dev: bool,
net_config_dir: PathBuf,
client_id: &str,
node_name: &str,
node_key: NodeKeyConfig,
default_listen_port: u16
) -> Result<NetworkConfiguration, Error>
pub fn keystore_config(
&self,
config_dir: &PathBuf
) -> Result<(Option<String>, KeystoreConfig), Error>[src]
&self,
config_dir: &PathBuf
) -> Result<(Option<String>, KeystoreConfig), Error>
pub fn database_cache_size(&self) -> Result<Option<usize>, Error>[src]
pub fn database_transaction_storage(
&self
) -> Result<TransactionStorageMode, Error>[src]
&self
) -> Result<TransactionStorageMode, Error>
pub fn database(&self) -> Result<Option<Database>, Error>[src]
pub fn database_config(
&self,
base_path: &PathBuf,
cache_size: usize,
database: Database
) -> Result<DatabaseSettingsSrc, Error>[src]
&self,
base_path: &PathBuf,
cache_size: usize,
database: Database
) -> Result<DatabaseSettingsSrc, Error>
pub fn state_cache_size(&self) -> Result<usize, Error>[src]
pub fn state_cache_child_ratio(&self) -> Result<Option<usize>, Error>[src]
pub fn state_pruning(
&self,
unsafe_pruning: bool,
role: &Role
) -> Result<PruningMode, Error>[src]
&self,
unsafe_pruning: bool,
role: &Role
) -> Result<PruningMode, Error>
pub fn keep_blocks(&self) -> Result<KeepBlocks, Error>[src]
pub fn chain_id(&self, is_dev: bool) -> Result<String, Error>[src]
pub fn node_name(&self) -> Result<String, Error>[src]
pub fn wasm_method(&self) -> Result<WasmExecutionMethod, Error>[src]
pub fn wasm_runtime_overrides(&self) -> Option<PathBuf>[src]
pub fn execution_strategies(
&self,
is_dev: bool,
is_validator: bool
) -> Result<ExecutionStrategies, Error>[src]
&self,
is_dev: bool,
is_validator: bool
) -> Result<ExecutionStrategies, Error>
pub fn rpc_http(
&self,
_default_listen_port: u16
) -> Result<Option<SocketAddr>, Error>[src]
&self,
_default_listen_port: u16
) -> Result<Option<SocketAddr>, Error>
pub fn rpc_ipc(&self) -> Result<Option<String>, Error>[src]
pub fn rpc_ws(
&self,
_default_listen_port: u16
) -> Result<Option<SocketAddr>, Error>[src]
&self,
_default_listen_port: u16
) -> Result<Option<SocketAddr>, Error>
pub fn rpc_methods(&self) -> Result<RpcMethods, Error>[src]
pub fn rpc_ws_max_connections(&self) -> Result<Option<usize>, Error>[src]
pub fn rpc_cors(
&self,
_is_dev: bool
) -> Result<Option<Vec<String, Global>>, Error>[src]
&self,
_is_dev: bool
) -> Result<Option<Vec<String, Global>>, Error>
pub fn prometheus_config(
&self,
_default_listen_port: u16
) -> Result<Option<PrometheusConfig>, Error>[src]
&self,
_default_listen_port: u16
) -> Result<Option<PrometheusConfig>, Error>
pub fn telemetry_endpoints(
&self,
chain_spec: &Box<dyn ChainSpec + 'static, Global>
) -> Result<Option<TelemetryEndpoints>, Error>[src]
&self,
chain_spec: &Box<dyn ChainSpec + 'static, Global>
) -> Result<Option<TelemetryEndpoints>, Error>
pub fn telemetry_external_transport(
&self
) -> Result<Option<ExtTransport>, Error>[src]
&self
) -> Result<Option<ExtTransport>, Error>
pub fn default_heap_pages(&self) -> Result<Option<u64>, Error>[src]
pub fn offchain_worker(
&self,
role: &Role
) -> Result<OffchainWorkerConfig, Error>[src]
&self,
role: &Role
) -> Result<OffchainWorkerConfig, Error>
pub fn force_authoring(&self) -> Result<bool, Error>[src]
pub fn disable_grandpa(&self) -> Result<bool, Error>[src]
pub fn dev_key_seed(&self, _is_dev: bool) -> Result<Option<String>, Error>[src]
pub fn tracing_targets(&self) -> Result<Option<String>, Error>[src]
pub fn tracing_receiver(&self) -> Result<TracingReceiver, Error>[src]
pub fn node_key(&self, net_config_dir: &PathBuf) -> Result<NodeKeyConfig, Error>[src]
pub fn max_runtime_instances(&self) -> Result<Option<usize>, Error>[src]
pub fn announce_block(&self) -> Result<bool, Error>[src]
pub fn create_configuration<C>(
&self,
cli: &C,
task_executor: TaskExecutor,
telemetry_handle: Option<TelemetryHandle>
) -> Result<Configuration, Error> where
C: TetcoreCli, [src]
&self,
cli: &C,
task_executor: TaskExecutor,
telemetry_handle: Option<TelemetryHandle>
) -> Result<Configuration, Error> where
C: TetcoreCli,
pub fn log_filters(&self) -> Result<String, Error>[src]
pub fn is_log_filter_reloading_disabled(&self) -> Result<bool, Error>[src]
pub fn disable_log_color(&self) -> Result<bool, Error>[src]
pub fn init<C>(&self) -> Result<TelemetryWorker, Error> where
C: TetcoreCli, [src]
C: TetcoreCli,
impl Debug for InspectCmd[src]
impl StructOpt for InspectCmd[src]
fn clap<'a, 'b>() -> App<'a, 'b>[src]
fn from_clap(matches: &ArgMatches<'_>) -> Self[src]
pub fn from_args() -> Self[src]
pub fn from_args_safe() -> Result<Self, Error>[src]
pub fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone, [src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
pub fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone, [src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
impl StructOptInternal for InspectCmd[src]
fn augment_clap<'a, 'b>(app: App<'a, 'b>) -> App<'a, 'b>[src]
fn is_subcommand() -> bool[src]
pub fn from_subcommand(
_sub: (&'b str, Option<&'b ArgMatches<'a>>)
) -> Option<Self>[src]
_sub: (&'b str, Option<&'b ArgMatches<'a>>)
) -> Option<Self>
Auto Trait Implementations
impl RefUnwindSafe for InspectCmd
impl Send for InspectCmd
impl Sync for InspectCmd
impl Unpin for InspectCmd
impl UnwindSafe for InspectCmd
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> CheckedConversion for T[src]
pub fn checked_from<T>(t: T) -> Option<Self> where
Self: TryFrom<T>, [src]
Self: TryFrom<T>,
pub fn checked_into<T>(self) -> Option<T> where
Self: TryInto<T>, [src]
Self: TryInto<T>,
impl<T> Downcast for T where
T: Any,
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Any + Send + Sync,
T: Any + Send + Sync,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>, [src]
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
pub fn from_ref(outer: &Outer) -> &T[src]
Get a reference to the inner from the outer.
pub fn from_mut(outer: &mut Outer) -> &mut T[src]
Get a mutable reference to the inner from the outer.
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SaturatedConversion for T
pub fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
Self: UniqueSaturatedFrom<T>,
pub fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
Self: UniqueSaturatedInto<T>,
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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>, [src]
T: UncheckedFrom<S>,
pub fn unchecked_into(self) -> T[src]
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
T: Bounded,
S: TryInto<T>,
pub fn unique_saturated_into(self) -> T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>, [src]
S: Into<Dispatch>,