Enum dfx_core::error::extension::InstallExtensionError
source · pub enum InstallExtensionError {
ExtensionNotFound(String),
OtherVersionAlreadyInstalled(String, Version),
FetchCatalog(FetchCatalogError),
GetExtensionArchiveName(GetExtensionArchiveNameError),
GetHighestCompatibleVersion(GetHighestCompatibleVersionError),
GetExtensionDownloadUrl(GetExtensionDownloadUrlError),
GetExtensionManifest(GetExtensionManifestError),
DownloadAndInstallExtensionToTempdir(DownloadAndInstallExtensionToTempdirError),
FinalizeInstallation(FinalizeInstallationError),
LoadManifest(LoadExtensionManifestError),
}Variants§
ExtensionNotFound(String)
OtherVersionAlreadyInstalled(String, Version)
FetchCatalog(FetchCatalogError)
GetExtensionArchiveName(GetExtensionArchiveNameError)
GetHighestCompatibleVersion(GetHighestCompatibleVersionError)
GetExtensionDownloadUrl(GetExtensionDownloadUrlError)
GetExtensionManifest(GetExtensionManifestError)
DownloadAndInstallExtensionToTempdir(DownloadAndInstallExtensionToTempdirError)
FinalizeInstallation(FinalizeInstallationError)
LoadManifest(LoadExtensionManifestError)
Trait Implementations§
source§impl Debug for InstallExtensionError
impl Debug for InstallExtensionError
source§impl Display for InstallExtensionError
impl Display for InstallExtensionError
source§impl Error for InstallExtensionError
impl Error for InstallExtensionError
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<DownloadAndInstallExtensionToTempdirError> for InstallExtensionError
impl From<DownloadAndInstallExtensionToTempdirError> for InstallExtensionError
source§fn from(source: DownloadAndInstallExtensionToTempdirError) -> Self
fn from(source: DownloadAndInstallExtensionToTempdirError) -> Self
Converts to this type from the input type.
source§impl From<FetchCatalogError> for InstallExtensionError
impl From<FetchCatalogError> for InstallExtensionError
source§fn from(source: FetchCatalogError) -> Self
fn from(source: FetchCatalogError) -> Self
Converts to this type from the input type.
source§impl From<FinalizeInstallationError> for InstallExtensionError
impl From<FinalizeInstallationError> for InstallExtensionError
source§fn from(source: FinalizeInstallationError) -> Self
fn from(source: FinalizeInstallationError) -> Self
Converts to this type from the input type.
source§impl From<GetExtensionArchiveNameError> for InstallExtensionError
impl From<GetExtensionArchiveNameError> for InstallExtensionError
source§fn from(source: GetExtensionArchiveNameError) -> Self
fn from(source: GetExtensionArchiveNameError) -> Self
Converts to this type from the input type.
source§impl From<GetExtensionDownloadUrlError> for InstallExtensionError
impl From<GetExtensionDownloadUrlError> for InstallExtensionError
source§fn from(source: GetExtensionDownloadUrlError) -> Self
fn from(source: GetExtensionDownloadUrlError) -> Self
Converts to this type from the input type.
source§impl From<GetExtensionManifestError> for InstallExtensionError
impl From<GetExtensionManifestError> for InstallExtensionError
source§fn from(source: GetExtensionManifestError) -> Self
fn from(source: GetExtensionManifestError) -> Self
Converts to this type from the input type.
source§impl From<GetHighestCompatibleVersionError> for InstallExtensionError
impl From<GetHighestCompatibleVersionError> for InstallExtensionError
source§fn from(source: GetHighestCompatibleVersionError) -> Self
fn from(source: GetHighestCompatibleVersionError) -> Self
Converts to this type from the input type.
source§impl From<LoadExtensionManifestError> for InstallExtensionError
impl From<LoadExtensionManifestError> for InstallExtensionError
source§fn from(source: LoadExtensionManifestError) -> Self
fn from(source: LoadExtensionManifestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InstallExtensionError
impl !RefUnwindSafe for InstallExtensionError
impl Send for InstallExtensionError
impl Sync for InstallExtensionError
impl Unpin for InstallExtensionError
impl !UnwindSafe for InstallExtensionError
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