Enum marine_module_info_parser::sdk_version::SDKVersionError [−][src]
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
impl Debug for SDKVersionError[src]
impl Debug for SDKVersionError[src]impl Display for SDKVersionError[src]
impl Display for SDKVersionError[src]impl Error for SDKVersionError[src]
impl Error for SDKVersionError[src]fn source(&self) -> Option<&(dyn Error + 'static)>[src]
fn source(&self) -> Option<&(dyn Error + 'static)>[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>[src]
fn backtrace(&self) -> Option<&Backtrace>[src]🔬 This is a nightly-only experimental API. (
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str1.0.0[src]
fn description(&self) -> &str1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<SDKVersionError> for ModuleInfoError[src]
impl From<SDKVersionError> for ModuleInfoError[src]fn from(source: SDKVersionError) -> Self[src]
fn from(source: SDKVersionError) -> Self[src]Performs the conversion.
impl From<SemVerError> for SDKVersionError[src]
impl From<SemVerError> for SDKVersionError[src]fn from(source: SemVerError) -> Self[src]
fn from(source: SemVerError) -> Self[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SDKVersionError
impl Send for SDKVersionError
impl Sync for SDKVersionError
impl Unpin for SDKVersionError
impl UnwindSafe for SDKVersionError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self