Enum proto::ProtoError
source · pub enum ProtoError {
Show 22 variants
DownloadFailed(String, String),
ExecuteMissingBin(String, PathBuf),
Fs(PathBuf, String),
Http(String, String),
InstallMissingDownload(String),
InternetConnectionRequired,
InvalidConfig(PathBuf, String),
Json(PathBuf, String),
Message(String),
MissingHomeDir,
MissingTool(String),
Shim(String),
Toml(PathBuf, String),
UnsupportedArchitecture(String, String),
UnsupportedPlatform(String, String),
UnsupportedShell,
UnsupportedTool(String),
VerifyInvalidChecksum(PathBuf, PathBuf),
VersionUnknownAlias(String),
VersionParseFailed(String, String),
VersionResolveFailed(String),
Zip(String),
}
Variants§
DownloadFailed(String, String)
ExecuteMissingBin(String, PathBuf)
Fs(PathBuf, String)
Http(String, String)
InstallMissingDownload(String)
InternetConnectionRequired
InvalidConfig(PathBuf, String)
Json(PathBuf, String)
Message(String)
MissingHomeDir
MissingTool(String)
Shim(String)
Toml(PathBuf, String)
UnsupportedArchitecture(String, String)
UnsupportedPlatform(String, String)
UnsupportedShell
UnsupportedTool(String)
VerifyInvalidChecksum(PathBuf, PathBuf)
VersionUnknownAlias(String)
VersionParseFailed(String, String)
VersionResolveFailed(String)
Zip(String)
Trait Implementations§
source§impl Debug for ProtoError
impl Debug for ProtoError
source§impl Display for ProtoError
impl Display for ProtoError
source§impl Error for ProtoError
impl Error for ProtoError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()