#[non_exhaustive]pub enum SoldeerError {
AuthError(AuthError),
ConfigError(ConfigError),
DownloadError {
dep: String,
source: DownloadError,
},
InstallError(InstallError),
LockError(LockError),
PublishError(PublishError),
RemappingsError(RemappingsError),
RegistryError(RegistryError),
UpdateError(UpdateError),
IOError(Error),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AuthError(AuthError)
ConfigError(ConfigError)
DownloadError
InstallError(InstallError)
LockError(LockError)
PublishError(PublishError)
RemappingsError(RemappingsError)
RegistryError(RegistryError)
UpdateError(UpdateError)
IOError(Error)
Trait Implementations§
Source§impl Debug for SoldeerError
impl Debug for SoldeerError
Source§impl Display for SoldeerError
impl Display for SoldeerError
Source§impl Error for SoldeerError
impl Error for SoldeerError
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<AuthError> for SoldeerError
impl From<AuthError> for SoldeerError
Source§impl From<ConfigError> for SoldeerError
impl From<ConfigError> for SoldeerError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for SoldeerError
impl From<Error> for SoldeerError
Source§impl From<InstallError> for SoldeerError
impl From<InstallError> for SoldeerError
Source§fn from(source: InstallError) -> Self
fn from(source: InstallError) -> Self
Converts to this type from the input type.
Source§impl From<LockError> for SoldeerError
impl From<LockError> for SoldeerError
Source§impl From<PublishError> for SoldeerError
impl From<PublishError> for SoldeerError
Source§fn from(source: PublishError) -> Self
fn from(source: PublishError) -> Self
Converts to this type from the input type.
Source§impl From<RegistryError> for SoldeerError
impl From<RegistryError> for SoldeerError
Source§fn from(source: RegistryError) -> Self
fn from(source: RegistryError) -> Self
Converts to this type from the input type.
Source§impl From<RemappingsError> for SoldeerError
impl From<RemappingsError> for SoldeerError
Source§fn from(source: RemappingsError) -> Self
fn from(source: RemappingsError) -> Self
Converts to this type from the input type.
Source§impl From<UpdateError> for SoldeerError
impl From<UpdateError> for SoldeerError
Source§fn from(source: UpdateError) -> Self
fn from(source: UpdateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SoldeerError
impl !RefUnwindSafe for SoldeerError
impl Send for SoldeerError
impl Sync for SoldeerError
impl Unpin for SoldeerError
impl UnsafeUnpin for SoldeerError
impl !UnwindSafe for SoldeerError
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.