pub enum ToolCacheError {
ToolNotFound {
name: String,
version: String,
arch: Option<ToolCacheArch>,
},
IoError(Error),
DownloadError(String),
GenericError(String),
}Expand description
Tool cache errors
Variants§
ToolNotFound
Tool not found in cache
Fields
§
arch: Option<ToolCacheArch>Tool architecture (if specified)
IoError(Error)
I/O Error
DownloadError(String)
Download Error
GenericError(String)
Generic Error
Trait Implementations§
Source§impl Debug for ToolCacheError
impl Debug for ToolCacheError
Source§impl Display for ToolCacheError
impl Display for ToolCacheError
Source§impl Error for ToolCacheError
impl Error for ToolCacheError
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 ToolCacheError
impl !RefUnwindSafe for ToolCacheError
impl Send for ToolCacheError
impl Sync for ToolCacheError
impl Unpin for ToolCacheError
impl !UnwindSafe for ToolCacheError
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