pub enum VarErrorKind {
NotString(OsString),
RequiredEnvMissing(VarError),
}
Expand description
If variable retrieval fails, it will be for one of these reasons
Variants§
Trait Implementations§
Source§impl Clone for VarErrorKind
impl Clone for VarErrorKind
Source§fn clone(&self) -> VarErrorKind
fn clone(&self) -> VarErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VarErrorKind
impl Debug for VarErrorKind
Source§impl PartialEq for VarErrorKind
impl PartialEq for VarErrorKind
impl Eq for VarErrorKind
impl StructuralPartialEq for VarErrorKind
Auto Trait Implementations§
impl Freeze for VarErrorKind
impl RefUnwindSafe for VarErrorKind
impl Send for VarErrorKind
impl Sync for VarErrorKind
impl Unpin for VarErrorKind
impl UnwindSafe for VarErrorKind
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