pub enum CompilerDriverError {
Session(CompilerSessionError),
Host(CompilerHostError),
}Expand description
Errors returned while executing one callback-driven compile request.
Variants§
Session(CompilerSessionError)
Session loading, parsing, or code generation failed.
Host(CompilerHostError)
The host failed while persisting output.
Trait Implementations§
Source§impl Debug for CompilerDriverError
impl Debug for CompilerDriverError
Source§impl Display for CompilerDriverError
impl Display for CompilerDriverError
Source§impl Error for CompilerDriverError
impl Error for CompilerDriverError
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.
Source§impl From<CompilerHostError> for CompilerDriverError
impl From<CompilerHostError> for CompilerDriverError
Source§fn from(value: CompilerHostError) -> Self
fn from(value: CompilerHostError) -> Self
Converts to this type from the input type.
Source§impl From<CompilerSessionError> for CompilerDriverError
impl From<CompilerSessionError> for CompilerDriverError
Source§fn from(value: CompilerSessionError) -> Self
fn from(value: CompilerSessionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CompilerDriverError
impl RefUnwindSafe for CompilerDriverError
impl Send for CompilerDriverError
impl Sync for CompilerDriverError
impl Unpin for CompilerDriverError
impl UnsafeUnpin for CompilerDriverError
impl UnwindSafe for CompilerDriverError
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