Enum python_ast::codegen::CodeGenError
source · pub enum CodeGenError {
CodeGenError(String, Option<TokenStream>),
PathNotFound(String),
NotYetImplemented(String),
UnknownType(String),
}
Variants§
CodeGenError(String, Option<TokenStream>)
PathNotFound(String)
NotYetImplemented(String)
UnknownType(String)
Trait Implementations§
source§impl Debug for CodeGenError
impl Debug for CodeGenError
source§impl Display for CodeGenError
impl Display for CodeGenError
source§impl Error for CodeGenError
impl Error for CodeGenError
1.30.0 · 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()
Auto Trait Implementations§
impl RefUnwindSafe for CodeGenError
impl !Send for CodeGenError
impl !Sync for CodeGenError
impl Unpin for CodeGenError
impl UnwindSafe for CodeGenError
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