Struct wasm_deploy::cli::Cli
source · pub struct Cli<C, S>where
C: Contract,
S: Subcommand,{
pub command: Commands<C, S>,
pub cargo_args: Vec<String>,
}Fields§
§command: Commands<C, S>§cargo_args: Vec<String>Add additional args to cargo build
Trait Implementations§
source§impl<C, S> Args for Cli<C, S>where
C: Contract,
S: Subcommand,
impl<C, S> Args for Cli<C, S>where
C: Contract,
S: Subcommand,
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl<C, S> CommandFactory for Cli<C, S>where
C: Contract,
S: Subcommand,
impl<C, S> CommandFactory for Cli<C, S>where
C: Contract,
S: Subcommand,
source§impl<C, S> FromArgMatches for Cli<C, S>where
C: Contract,
S: Subcommand,
impl<C, S> FromArgMatches for Cli<C, S>where
C: Contract,
S: Subcommand,
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
Assign values from
ArgMatches to self.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
Assign values from
ArgMatches to self.source§impl<C, S> Parser for Cli<C, S>where
C: Contract,
S: Subcommand,
impl<C, S> Parser for Cli<C, S>where
C: Contract,
S: Subcommand,
source§fn try_parse() -> Result<Self, Error<RichFormatter>>
fn try_parse() -> Result<Self, Error<RichFormatter>>
Parse from
std::env::args_os(), return Err on error.source§fn parse_from<I, T>(itr: I) -> Selfwhere
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn parse_from<I, T>(itr: I) -> Selfwhere
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, exit on error
source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, return Err on error.
source§fn update_from<I, T>(&mut self, itr: I)where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn update_from<I, T>(&mut self, itr: I)where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Update from iterator, exit on error
source§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Update from iterator, return Err on error.
Auto Trait Implementations§
impl<C, S> RefUnwindSafe for Cli<C, S>where
C: RefUnwindSafe,
S: RefUnwindSafe,
impl<C, S> Send for Cli<C, S>where
S: Send,
impl<C, S> Sync for Cli<C, S>where
S: Sync,
impl<C, S> Unpin for Cli<C, S>where
C: Unpin,
S: Unpin,
impl<C, S> UnwindSafe for Cli<C, S>where
C: UnwindSafe,
S: UnwindSafe,
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request