Struct shellexpand::LookupError
[−]
[src]
pub struct LookupError<E> { pub name: String, pub cause: E, }
Represents a variable lookup error.
This error is returned by env_with_context()
function (and, therefore, also by env()
,
full_with_context()
and full()
) when the provided context function returns an error. The
original error is provided in the cause
field, while name
contains the name of a variable
whose expansion caused the error.
Fields
name: String
The name of the problematic variable inside the input string.
cause: E
The original error returned by the context function.
Trait Implementations
impl<E: Eq> Eq for LookupError<E>
[src]
impl<E: PartialEq> PartialEq for LookupError<E>
[src]
fn eq(&self, __arg_0: &LookupError<E>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LookupError<E>) -> bool
This method tests for !=
.
impl<E: Clone> Clone for LookupError<E>
[src]
fn clone(&self) -> LookupError<E>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more