Enum rustpython_vm::compiler::CompileErrorType
source · pub enum CompileErrorType {
Codegen(CodegenErrorType),
Parse(ParseErrorType),
}
Variants§
Codegen(CodegenErrorType)
Parse(ParseErrorType)
Trait Implementations§
source§impl Debug for CompileErrorType
impl Debug for CompileErrorType
source§impl Display for CompileErrorType
impl Display for CompileErrorType
source§impl Error for CompileErrorType
impl Error for CompileErrorType
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<CodegenErrorType> for CompileErrorType
impl From<CodegenErrorType> for CompileErrorType
source§fn from(source: CodegenErrorType) -> CompileErrorType
fn from(source: CodegenErrorType) -> CompileErrorType
Converts to this type from the input type.
source§impl From<ParseErrorType> for CompileErrorType
impl From<ParseErrorType> for CompileErrorType
source§fn from(source: ParseErrorType) -> CompileErrorType
fn from(source: ParseErrorType) -> CompileErrorType
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CompileErrorType
impl Send for CompileErrorType
impl Sync for CompileErrorType
impl Unpin for CompileErrorType
impl UnwindSafe for CompileErrorType
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