Trait dd_lib::opts::error::Unimplemented
source · pub trait Unimplemented {
const KIND: Kind;
const UNIMPLEMENTED: &'static [&'static str];
fn check_if_implemented(flag: &str) -> Result<()> { ... }
fn unknown<T>(flag: String) -> Result<T> { ... }
}
Required Associated Constants
sourceconst UNIMPLEMENTED: &'static [&'static str]
const UNIMPLEMENTED: &'static [&'static str]
Slice of valid but as yet unimplemented options
Provided Methods
sourcefn check_if_implemented(flag: &str) -> Result<()>
fn check_if_implemented(flag: &str) -> Result<()>
check if a flag is valid but unimplemented