pub enum EnvError {
NotPresent,
NotUnicode,
}
Expand description
Possible errors when getting environment variable.
Variants§
NotPresent
Environment variable with the name is not present.
NotUnicode
Environment variable cannot be converted to unicode.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnvError
impl RefUnwindSafe for EnvError
impl Send for EnvError
impl Sync for EnvError
impl Unpin for EnvError
impl UnwindSafe for EnvError
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