Enum reproto_repository::errors::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Core(ErrorKind), Io(Error), TomlDe(Error), SerdeJson(Error), UrlParseError(ParseError), OpenSSL(ErrorStack), Git2(Error), FromHexError(FromHexError), HyperUriError(UriError), HyperError(Error), SystemTimeError(SystemTimeError), NoPublishIndex(String), NoPublishObjects(String), PoisonError, }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Core(ErrorKind)
Io(Error)
TomlDe(Error)
SerdeJson(Error)
UrlParseError(ParseError)
OpenSSL(ErrorStack)
Git2(Error)
FromHexError(FromHexError)
HyperUriError(UriError)
HyperError(Error)
SystemTimeError(SystemTimeError)
NoPublishIndex(String)
NoPublishObjects(String)
PoisonError
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.