pub enum ErrorKind {
Io(Error),
VersionReq(ReqParseError),
SemVer(SemVerError),
Msg(String),
New(String),
UnsupportedVersion(String),
FetchVersionFailure,
InvalidCratesIoJson,
// some variants omitted
}Expand description
The kind of an error.
Variants§
Io(Error)
IO error
VersionReq(ReqParseError)
Could not parse version requirements
SemVer(SemVerError)
Could not parse version
Msg(String)
A convenient variant for String.
New(String)
UnsupportedVersion(String)
Don’t have a template matching this version of the amethyst crate
FetchVersionFailure
Failed to fetch amethyst crate version from crates.io
InvalidCratesIoJson
The fetched crates.io JSON is not valid
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorKind
impl !RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl !UnwindSafe for ErrorKind
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