pub enum PythonParserError {
Io(Error),
ParseFailed {
path: String,
},
Language(LanguageError),
}Expand description
Errors from the Python-specific parser.
Variants§
Trait Implementations§
Source§impl Debug for PythonParserError
impl Debug for PythonParserError
Source§impl Display for PythonParserError
impl Display for PythonParserError
Source§impl Error for PythonParserError
impl Error for PythonParserError
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<Error> for PythonParserError
impl From<Error> for PythonParserError
Source§impl From<LanguageError> for PythonParserError
impl From<LanguageError> for PythonParserError
Source§fn from(source: LanguageError) -> Self
fn from(source: LanguageError) -> Self
Converts to this type from the input type.
Source§impl From<PythonParserError> for IngestError
impl From<PythonParserError> for IngestError
Source§fn from(source: PythonParserError) -> Self
fn from(source: PythonParserError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PythonParserError
impl !UnwindSafe for PythonParserError
impl Freeze for PythonParserError
impl Send for PythonParserError
impl Sync for PythonParserError
impl Unpin for PythonParserError
impl UnsafeUnpin for PythonParserError
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