pub enum ArgvRewriteError {
Resolve {
path: String,
source_error: AliasResolverError,
},
}Expand description
Failure modes for rewrite_argv.
Variants§
Resolve
Resolver could not produce a value for an alias.
Fields
§
source_error: AliasResolverErrorUnderlying resolver error.
Trait Implementations§
Source§impl Debug for ArgvRewriteError
impl Debug for ArgvRewriteError
Source§impl Display for ArgvRewriteError
impl Display for ArgvRewriteError
Source§impl Error for ArgvRewriteError
impl Error for ArgvRewriteError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ArgvRewriteError
impl RefUnwindSafe for ArgvRewriteError
impl Send for ArgvRewriteError
impl Sync for ArgvRewriteError
impl Unpin for ArgvRewriteError
impl UnsafeUnpin for ArgvRewriteError
impl UnwindSafe for ArgvRewriteError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more