pub enum BatchCompileError {
Io(Error),
Driver(CompilerDriverError),
}Expand description
Errors returned before or outside individual compile attempts in batch mode.
Variants§
Io(Error)
Directory traversal or output setup failed.
Driver(CompilerDriverError)
One compile failed and continue_on_error was disabled.
Trait Implementations§
Source§impl Debug for BatchCompileError
impl Debug for BatchCompileError
Source§impl Display for BatchCompileError
impl Display for BatchCompileError
Source§impl Error for BatchCompileError
impl Error for BatchCompileError
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()
Source§impl From<CompilerDriverError> for BatchCompileError
impl From<CompilerDriverError> for BatchCompileError
Source§fn from(value: CompilerDriverError) -> Self
fn from(value: CompilerDriverError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BatchCompileError
impl !RefUnwindSafe for BatchCompileError
impl Send for BatchCompileError
impl Sync for BatchCompileError
impl Unpin for BatchCompileError
impl UnsafeUnpin for BatchCompileError
impl !UnwindSafe for BatchCompileError
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