pub enum InstallError {
Show 18 variants
CreateToolsDirFailed {
source: Error,
},
ExternalToolUnavailable {
tool: String,
source: Error,
},
BinaryDownloadRequestFailed {
tool: String,
source: Error,
},
CreateToolDownloadDestFailed {
source: Error,
},
ChunkBinaryDownloadFailed {
source: Error,
},
WriteBinaryDownloadChunkFailed {
source: Error,
},
GetLatestToolVersionFailed {
tool: String,
source: Error,
},
ParseToolVersionFailed {
tool: String,
},
CreateToolExtractDestFailed {
source: Error,
},
ToolExtractFailed {
tool: String,
source: Error,
},
ArchiveDeletionFailed {
source: Error,
},
DirRenameFailed {
source: Error,
},
ReadToolsDirFailed {
source: Error,
},
InvalidToolsDirName {
name: String,
},
LockfileGenerationNonZero {
code: i32,
},
LockfileGenerationFailed {
source: ExecutionError,
},
MetadataFailed {
source: Error,
},
LockfileLoadFailed {
source: Error,
},
}Variants§
CreateToolsDirFailed
BinaryDownloadRequestFailed
CreateToolDownloadDestFailed
ChunkBinaryDownloadFailed
WriteBinaryDownloadChunkFailed
GetLatestToolVersionFailed
ParseToolVersionFailed
CreateToolExtractDestFailed
ToolExtractFailed
ArchiveDeletionFailed
DirRenameFailed
ReadToolsDirFailed
InvalidToolsDirName
LockfileGenerationNonZero
LockfileGenerationFailed
Fields
§
source: ExecutionErrorMetadataFailed
LockfileLoadFailed
Trait Implementations§
Source§impl Debug for InstallError
impl Debug for InstallError
Source§impl Display for InstallError
impl Display for InstallError
Source§impl Error for InstallError
impl Error for InstallError
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<InstallError> for Error
impl From<InstallError> for Error
Source§fn from(source: InstallError) -> Self
fn from(source: InstallError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InstallError
impl !RefUnwindSafe for InstallError
impl Send for InstallError
impl Sync for InstallError
impl Unpin for InstallError
impl !UnwindSafe for InstallError
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