pub enum LenvError {
Io(Error),
Parse {
line: usize,
message: String,
},
}Expand description
Error type for lenv file operations.
Variants§
Trait Implementations§
Source§impl Error for LenvError
impl Error for LenvError
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
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 !RefUnwindSafe for LenvError
impl !UnwindSafe for LenvError
impl Forget for LenvError
impl Freeze for LenvError
impl Move for LenvError
impl Send for LenvError
impl Sync for LenvError
impl Unpin for LenvError
impl UnsafeUnpin for LenvError
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