pub enum SDKVersionError {
VersionNotValidUtf8(Utf8Error),
VersionCorrupted(SemVerError),
}
Variants§
VersionNotValidUtf8(Utf8Error)
Version can’t be parsed to Utf8 string.
VersionCorrupted(SemVerError)
Version can’t be parsed with semver.
Trait Implementations§
Source§impl Debug for SDKVersionError
impl Debug for SDKVersionError
Source§impl Display for SDKVersionError
impl Display for SDKVersionError
Source§impl Error for SDKVersionError
impl Error for SDKVersionError
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<SDKVersionError> for ModuleInfoError
impl From<SDKVersionError> for ModuleInfoError
Source§fn from(source: SDKVersionError) -> Self
fn from(source: SDKVersionError) -> Self
Converts to this type from the input type.
Source§impl From<SemVerError> for SDKVersionError
impl From<SemVerError> for SDKVersionError
Source§fn from(source: SemVerError) -> Self
fn from(source: SemVerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SDKVersionError
impl RefUnwindSafe for SDKVersionError
impl Send for SDKVersionError
impl Sync for SDKVersionError
impl Unpin for SDKVersionError
impl UnwindSafe for SDKVersionError
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