Enum python_ast::codegen::CodeGenError
source · pub enum CodeGenError<S: Into<String> + Clone + Ord + Borrow<S>> {
PathNotFound(S),
NotYetImplemented(S),
UnknownType(S),
}
Expand description
Code generation errors.
Variants§
Trait Implementations§
source§impl<S> Display for CodeGenError<S>
impl<S> Display for CodeGenError<S>
source§impl<S: Into<String> + Clone + Ord + Borrow<S>> Error for CodeGenError<S>
impl<S: Into<String> + Clone + Ord + Borrow<S>> Error for CodeGenError<S>
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<S> RefUnwindSafe for CodeGenError<S>where
S: RefUnwindSafe,
impl<S> Send for CodeGenError<S>where
S: Send,
impl<S> Sync for CodeGenError<S>where
S: Sync,
impl<S> Unpin for CodeGenError<S>where
S: Unpin,
impl<S> UnwindSafe for CodeGenError<S>where
S: UnwindSafe,
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