pub struct VarError<K: AsRef<OsStr>> { /* private fields */ }
Expand description
Describes a variable retrieval failure
Trait Implementations§
Source§impl<K: AsRef<OsStr> + Debug + Any> Error for VarError<K>
impl<K: AsRef<OsStr> + Debug + Any> Error for VarError<K>
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · 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
impl<K: Eq + AsRef<OsStr>> Eq for VarError<K>
impl<K: AsRef<OsStr>> StructuralPartialEq for VarError<K>
Auto Trait Implementations§
impl<K> Freeze for VarError<K>where
K: Freeze,
impl<K> RefUnwindSafe for VarError<K>where
K: RefUnwindSafe,
impl<K> Send for VarError<K>where
K: Send,
impl<K> Sync for VarError<K>where
K: Sync,
impl<K> Unpin for VarError<K>where
K: Unpin,
impl<K> UnwindSafe for VarError<K>where
K: UnwindSafe,
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