pub enum RunnerEnvError {
NotAnAssignment {
line: Option<usize>,
},
InvalidName {
line: Option<usize>,
},
Reserved {
line: Option<usize>,
name: String,
},
Duplicate {
line: usize,
name: String,
},
LineBreak {
line: Option<usize>,
name: String,
},
Io {
action: &'static str,
path: PathBuf,
source: Error,
},
}Expand description
Why a runner.env line or assignment was refused, or the file could not
be read or written. No variant carries a value.
Variants§
Trait Implementations§
Source§impl Debug for RunnerEnvError
impl Debug for RunnerEnvError
Source§impl Display for RunnerEnvError
impl Display for RunnerEnvError
Source§impl Error for RunnerEnvError
impl Error for RunnerEnvError
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 RunnerEnvError
impl !UnwindSafe for RunnerEnvError
impl Freeze for RunnerEnvError
impl Send for RunnerEnvError
impl Sync for RunnerEnvError
impl Unpin for RunnerEnvError
impl UnsafeUnpin for RunnerEnvError
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