pub enum LimpError {
Show 15 variants
IOError(Error),
CrateExists(String),
CrateExistsNotEmpty(String),
ParserError(Error),
GitError(String),
HttpError(Box<Error>),
CrateNotFound(String),
VersionNotFound(String),
SnippetNotFound(String),
SnippetExists(String),
IncompatibleFeatures(String),
CargoTomlNotFound(String),
EmptyFile(String),
NotSupported(String),
DependencyNotFound(String),
}Variants§
IOError(Error)
CrateExists(String)
CrateExistsNotEmpty(String)
ParserError(Error)
GitError(String)
HttpError(Box<Error>)
CrateNotFound(String)
VersionNotFound(String)
SnippetNotFound(String)
SnippetExists(String)
IncompatibleFeatures(String)
CargoTomlNotFound(String)
EmptyFile(String)
NotSupported(String)
DependencyNotFound(String)
Trait Implementations§
Source§impl Error for LimpError
impl Error for LimpError
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 LimpError
impl !RefUnwindSafe for LimpError
impl Send for LimpError
impl Sync for LimpError
impl Unpin for LimpError
impl UnsafeUnpin for LimpError
impl !UnwindSafe for LimpError
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