pub enum RustGeneratorError {
Io(Error),
CreateDir(Error),
}Expand description
Errors that can occur during Rust code generation.
Variants§
Io(Error)
IO error while writing files.
CreateDir(Error)
The output directory doesn’t exist and couldn’t be created.
Trait Implementations§
Source§impl Debug for RustGeneratorError
impl Debug for RustGeneratorError
Source§impl Display for RustGeneratorError
impl Display for RustGeneratorError
Source§impl Error for RustGeneratorError
impl Error for RustGeneratorError
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()
Auto Trait Implementations§
impl Freeze for RustGeneratorError
impl !RefUnwindSafe for RustGeneratorError
impl Send for RustGeneratorError
impl Sync for RustGeneratorError
impl Unpin for RustGeneratorError
impl !UnwindSafe for RustGeneratorError
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