Type Alias sarge::DefaultedArgResult
source · pub type DefaultedArgResult<T> = Result<T, <T as ArgumentType>::Error>;Expand description
The type returned when retrieving an argument with a default value.
Aliased Type§
enum DefaultedArgResult<T> {
Ok(T),
Err(<T as ArgumentType>::Error),
}