Enum flatdata::GeneratorError
source · pub enum GeneratorError {
PythonError(Error),
Io(Error),
Failure {
schema: PathBuf,
destination: PathBuf,
error: Error,
},
}
Expand description
Error type for generate function
Variants§
PythonError(Error)
Python interpreter or virtualenv not found
Io(Error)
Wrapper around underlying io::Error
Failure
Fields
Failed to run generator
Trait Implementations§
source§impl Debug for GeneratorError
impl Debug for GeneratorError
source§impl Display for GeneratorError
impl Display for GeneratorError
source§impl Error for GeneratorError
impl Error for GeneratorError
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()
source§impl From<Error> for GeneratorError
impl From<Error> for GeneratorError
Auto Trait Implementations§
impl !RefUnwindSafe for GeneratorError
impl Send for GeneratorError
impl Sync for GeneratorError
impl Unpin for GeneratorError
impl !UnwindSafe for GeneratorError
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