Enum uvm_core::unity::VersionError
source · pub enum VersionError {
PathContainsNoVersion(String),
ExecutableContainsNoVersion(String),
ParsingFailed(String),
VersionTypeParsingFailed(String),
NoMatch(String),
HashMissing {
source: UnityHashError,
version: String,
},
Io {
source: Error,
},
Other(Error),
}
Variants
PathContainsNoVersion(String)
ExecutableContainsNoVersion(String)
ParsingFailed(String)
VersionTypeParsingFailed(String)
NoMatch(String)
HashMissing
Io
Fields
source: Error
Other(Error)
Trait Implementations
sourceimpl Debug for VersionError
impl Debug for VersionError
sourceimpl Display for VersionError
impl Display for VersionError
sourceimpl Error for VersionError
impl Error for VersionError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for VersionError
impl From<Error> for VersionError
sourceimpl From<Error> for VersionError
impl From<Error> for VersionError
sourceimpl From<VersionError> for UvmError
impl From<VersionError> for UvmError
sourcefn from(e: VersionError) -> Self
fn from(e: VersionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for VersionError
impl Send for VersionError
impl Sync for VersionError
impl Unpin for VersionError
impl !UnwindSafe for VersionError
Blanket Implementations
impl<T> AsFail for Twhere
T: Fail,
impl<T> AsFail for Twhere
T: Fail,
fn as_fail(&self) -> &(dyn Fail + 'static)
fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to
Self
into a dynamic trait object of Fail
.sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<E> Fail for Ewhere
E: 'static + Error + Send + Sync,
impl<E> Fail for Ewhere
E: 'static + Error + Send + Sync,
fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more