pub enum Fail_ { ArgumentMissing(~str), UnrecognizedOption(~str), OptionMissing(~str), OptionDuplicated(~str), UnexpectedArgument(~str), }
The type returned when the command line does not conform to the
expected format. Pass this value to
impl Fail_
fn to_err_msg(self) -> ~str
Convert a Fail_
enum into an error string.
impl std::clone::Clone for Fail_
fn clone(&self) -> Fail_
impl std::cmp::Eq for Fail_
impl std::to_str::ToStr for Fail_
fn to_str(&self) -> ~str
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).