[−][src]Trait binjs::io::FormatProvider
Command-line management for a format
Required methods
fn subcommand<'a, 'b>(&self) -> App<'a, 'b>
Specify command-line arguments for this format.
fn handle_subcommand(
&self,
spec: &Spec,
matches: Option<&ArgMatches>
) -> Result<Format, Error>
&self,
spec: &Spec,
matches: Option<&ArgMatches>
) -> Result<Format, Error>
Produce a format given command-line argument matches.
Implementors
impl FormatProvider for binjs::io::binjs_json::FormatProvider
[src]
fn subcommand<'a, 'b>(&self) -> App<'a, 'b>
[src]
fn handle_subcommand(
&self,
_spec: &Spec,
_matches: Option<&ArgMatches>
) -> Result<Format, Error>
[src]
&self,
_spec: &Spec,
_matches: Option<&ArgMatches>
) -> Result<Format, Error>
impl FormatProvider for binjs::io::entropy::FormatProvider
[src]
fn subcommand<'a, 'b>(&self) -> App<'a, 'b>
[src]
fn handle_subcommand(
&self,
spec: &Spec,
matches: Option<&ArgMatches>
) -> Result<Format, Error>
[src]
&self,
spec: &Spec,
matches: Option<&ArgMatches>
) -> Result<Format, Error>
impl FormatProvider for binjs::io::multipart::FormatProvider
[src]
fn subcommand<'a, 'b>(&self) -> App<'a, 'b>
[src]
fn handle_subcommand(
&self,
_spec: &Spec,
matches: Option<&ArgMatches>
) -> Result<Format, Error>
[src]
&self,
_spec: &Spec,
matches: Option<&ArgMatches>
) -> Result<Format, Error>
impl FormatProvider for binjs::io::simple::FormatProvider
[src]
fn subcommand<'a, 'b>(&self) -> App<'a, 'b>
[src]
fn handle_subcommand(
&self,
_spec: &Spec,
Option<&ArgMatches>
) -> Result<Format, Error>
[src]
&self,
_spec: &Spec,
Option<&ArgMatches>
) -> Result<Format, Error>
impl FormatProvider for binjs::io::xml::FormatProvider
[src]
fn subcommand<'a, 'b>(&self) -> App<'a, 'b>
[src]
fn handle_subcommand(
&self,
_spec: &Spec,
_matches: Option<&ArgMatches>
) -> Result<Format, Error>
[src]
&self,
_spec: &Spec,
_matches: Option<&ArgMatches>
) -> Result<Format, Error>