Enum svm_lib::SolcVmError
source · pub enum SolcVmError {
GlobalVersionNotSet,
UnknownVersion,
UnsupportedVersion(String, String),
VersionNotInstalled(String),
ChecksumMismatch {
version: String,
expected: String,
actual: String,
},
Timeout(String, u64),
CouldNotPatchForNixOs(String, String),
IoError(Error),
ReqwestError(Error),
SemverError(Error),
UrlError(ParseError),
UnsuccessfulResponse(Url, StatusCode),
}
Expand description
Error types from the svm_lib crate.
Variants§
GlobalVersionNotSet
UnknownVersion
UnsupportedVersion(String, String)
VersionNotInstalled(String)
ChecksumMismatch
Timeout(String, u64)
CouldNotPatchForNixOs(String, String)
IoError(Error)
ReqwestError(Error)
SemverError(Error)
UrlError(ParseError)
UnsuccessfulResponse(Url, StatusCode)
Trait Implementations§
source§impl Debug for SolcVmError
impl Debug for SolcVmError
source§impl Display for SolcVmError
impl Display for SolcVmError
source§impl Error for SolcVmError
impl Error for SolcVmError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for SolcVmError
impl From<Error> for SolcVmError
source§impl From<Error> for SolcVmError
impl From<Error> for SolcVmError
source§impl From<Error> for SolcVmError
impl From<Error> for SolcVmError
source§impl From<ParseError> for SolcVmError
impl From<ParseError> for SolcVmError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SolcVmError
impl Send for SolcVmError
impl Sync for SolcVmError
impl Unpin for SolcVmError
impl !UnwindSafe for SolcVmError
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