pub enum CLifterError {
Engine(EngineError),
IOError(Error),
CompilationFailed,
}Expand description
This error type represents everything that can go wrong when generating C code.
Variants§
Trait Implementations§
Source§impl Debug for CLifterError
impl Debug for CLifterError
Source§impl Display for CLifterError
impl Display for CLifterError
Source§impl Error for CLifterError
impl Error for CLifterError
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<CLifterError> for ClangBackendError
impl From<CLifterError> for ClangBackendError
Source§fn from(source: CLifterError) -> Self
fn from(source: CLifterError) -> Self
Converts to this type from the input type.
Source§impl From<EngineError> for CLifterError
impl From<EngineError> for CLifterError
Source§fn from(source: EngineError) -> Self
fn from(source: EngineError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CLifterError
impl !RefUnwindSafe for CLifterError
impl Send for CLifterError
impl Sync for CLifterError
impl Unpin for CLifterError
impl !UnwindSafe for CLifterError
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