pub enum InstallCacheError {
Show 15 variants
CreateDirAll(CreateDirAllError),
GetArchivePath(GetArchivePathError),
GetBinCache(EnsureCacheVersionsDirError),
GetCurrentExeError(GetCurrentExeError),
InvalidCacheForDfxVersion(String),
MalformedSemverString(String, Error),
ReadBinaryCacheEntriesFailed(Error),
ReadBinaryCacheEntryFailed(Error),
ReadBinaryCacheStoreFailed(Error),
ReadFile(ReadFileError),
ReadPermissions(ReadPermissionsError),
RemoveDirectoryAndContents(RemoveDirectoryAndContentsError),
SetPermissions(SetPermissionsError),
UnpackingArchive(UnpackingArchiveError),
WriteFile(WriteFileError),
}Variants§
CreateDirAll(CreateDirAllError)
GetArchivePath(GetArchivePathError)
GetBinCache(EnsureCacheVersionsDirError)
GetCurrentExeError(GetCurrentExeError)
InvalidCacheForDfxVersion(String)
MalformedSemverString(String, Error)
ReadBinaryCacheEntriesFailed(Error)
ReadBinaryCacheEntryFailed(Error)
ReadBinaryCacheStoreFailed(Error)
ReadFile(ReadFileError)
ReadPermissions(ReadPermissionsError)
RemoveDirectoryAndContents(RemoveDirectoryAndContentsError)
SetPermissions(SetPermissionsError)
UnpackingArchive(UnpackingArchiveError)
WriteFile(WriteFileError)
Trait Implementations§
Source§impl Debug for InstallCacheError
impl Debug for InstallCacheError
Source§impl Display for InstallCacheError
impl Display for InstallCacheError
Source§impl Error for InstallCacheError
impl Error for InstallCacheError
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<CreateDirAllError> for InstallCacheError
impl From<CreateDirAllError> for InstallCacheError
Source§fn from(source: CreateDirAllError) -> Self
fn from(source: CreateDirAllError) -> Self
Converts to this type from the input type.
Source§impl From<EnsureCacheVersionsDirError> for InstallCacheError
impl From<EnsureCacheVersionsDirError> for InstallCacheError
Source§fn from(source: EnsureCacheVersionsDirError) -> Self
fn from(source: EnsureCacheVersionsDirError) -> Self
Converts to this type from the input type.
Source§impl From<GetArchivePathError> for InstallCacheError
impl From<GetArchivePathError> for InstallCacheError
Source§fn from(source: GetArchivePathError) -> Self
fn from(source: GetArchivePathError) -> Self
Converts to this type from the input type.
Source§impl From<GetCurrentExeError> for InstallCacheError
impl From<GetCurrentExeError> for InstallCacheError
Source§fn from(source: GetCurrentExeError) -> Self
fn from(source: GetCurrentExeError) -> Self
Converts to this type from the input type.
Source§impl From<InstallCacheError> for GetBinaryCommandPathError
impl From<InstallCacheError> for GetBinaryCommandPathError
Source§fn from(source: InstallCacheError) -> Self
fn from(source: InstallCacheError) -> Self
Converts to this type from the input type.
Source§impl From<ReadFileError> for InstallCacheError
impl From<ReadFileError> for InstallCacheError
Source§fn from(source: ReadFileError) -> Self
fn from(source: ReadFileError) -> Self
Converts to this type from the input type.
Source§impl From<ReadPermissionsError> for InstallCacheError
impl From<ReadPermissionsError> for InstallCacheError
Source§fn from(source: ReadPermissionsError) -> Self
fn from(source: ReadPermissionsError) -> Self
Converts to this type from the input type.
Source§impl From<RemoveDirectoryAndContentsError> for InstallCacheError
impl From<RemoveDirectoryAndContentsError> for InstallCacheError
Source§fn from(source: RemoveDirectoryAndContentsError) -> Self
fn from(source: RemoveDirectoryAndContentsError) -> Self
Converts to this type from the input type.
Source§impl From<SetPermissionsError> for InstallCacheError
impl From<SetPermissionsError> for InstallCacheError
Source§fn from(source: SetPermissionsError) -> Self
fn from(source: SetPermissionsError) -> Self
Converts to this type from the input type.
Source§impl From<UnpackingArchiveError> for InstallCacheError
impl From<UnpackingArchiveError> for InstallCacheError
Source§fn from(source: UnpackingArchiveError) -> Self
fn from(source: UnpackingArchiveError) -> Self
Converts to this type from the input type.
Source§impl From<WriteFileError> for InstallCacheError
impl From<WriteFileError> for InstallCacheError
Source§fn from(source: WriteFileError) -> Self
fn from(source: WriteFileError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InstallCacheError
impl !RefUnwindSafe for InstallCacheError
impl Send for InstallCacheError
impl Sync for InstallCacheError
impl Unpin for InstallCacheError
impl !UnwindSafe for InstallCacheError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more