pub enum GenError {
Profile(ProfileError),
Unsupported {
language: String,
what: String,
detail: String,
},
}Expand description
Why generation failed.
Variants§
Profile(ProfileError)
No profile ships for that language.
Unsupported
The workspace asked for something this backend cannot write.
Trait Implementations§
Source§impl Error for GenError
impl Error for GenError
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<ProfileError> for GenError
impl From<ProfileError> for GenError
Source§fn from(source: ProfileError) -> Self
fn from(source: ProfileError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for GenError
impl !UnwindSafe for GenError
impl Freeze for GenError
impl Send for GenError
impl Sync for GenError
impl Unpin for GenError
impl UnsafeUnpin for GenError
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