pub enum TrainingCompileError {
WrongStage {
hint: &'static str,
},
Lower(LowerError),
}Expand description
Error from CompilePipeline::compile_training.
Variants§
Trait Implementations§
Source§impl Clone for TrainingCompileError
impl Clone for TrainingCompileError
Source§fn clone(&self) -> TrainingCompileError
fn clone(&self) -> TrainingCompileError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrainingCompileError
impl Debug for TrainingCompileError
Source§impl Display for TrainingCompileError
impl Display for TrainingCompileError
Source§impl Error for TrainingCompileError
impl Error for TrainingCompileError
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<LowerError> for TrainingCompileError
impl From<LowerError> for TrainingCompileError
Source§fn from(e: LowerError) -> TrainingCompileError
fn from(e: LowerError) -> TrainingCompileError
Converts to this type from the input type.
Source§impl PartialEq for TrainingCompileError
impl PartialEq for TrainingCompileError
Source§fn eq(&self, other: &TrainingCompileError) -> bool
fn eq(&self, other: &TrainingCompileError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TrainingCompileError
impl StructuralPartialEq for TrainingCompileError
Auto Trait Implementations§
impl Freeze for TrainingCompileError
impl RefUnwindSafe for TrainingCompileError
impl Send for TrainingCompileError
impl Sync for TrainingCompileError
impl Unpin for TrainingCompileError
impl UnsafeUnpin for TrainingCompileError
impl UnwindSafe for TrainingCompileError
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