pub enum SyntaxCheckResult {
Ok,
SyntaxError {
stderr: String,
},
InterpreterMissing,
}Variants§
Ok
Interpreter parsed the file with no errors.
SyntaxError
Interpreter reported syntax errors. stderr carries the
raw output (with line/column information from the shell).
InterpreterMissing
The interpreter binary was not found on PATH.
Trait Implementations§
Source§impl Clone for SyntaxCheckResult
impl Clone for SyntaxCheckResult
Source§fn clone(&self) -> SyntaxCheckResult
fn clone(&self) -> SyntaxCheckResult
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 moreAuto Trait Implementations§
impl Freeze for SyntaxCheckResult
impl RefUnwindSafe for SyntaxCheckResult
impl Send for SyntaxCheckResult
impl Sync for SyntaxCheckResult
impl Unpin for SyntaxCheckResult
impl UnsafeUnpin for SyntaxCheckResult
impl UnwindSafe for SyntaxCheckResult
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