Enum uvm_install2::unity::hub::UvmHubError
source · pub enum UvmHubError {
ConfigNotFound(String),
ConfigDirectoryNotFound,
ReadConfigError {
config: String,
source: Error,
},
WriteConfigError {
config: String,
source: Error,
},
FailedToCreateConfigDirectory {
source: Error,
},
FailedToCreateConfig {
config: String,
source: Error,
},
InstallPathNotFound,
}Variants
ConfigNotFound(String)
ConfigDirectoryNotFound
ReadConfigError
WriteConfigError
FailedToCreateConfigDirectory
Fields
source: ErrorFailedToCreateConfig
InstallPathNotFound
Trait Implementations
sourceimpl Debug for UvmHubError
impl Debug for UvmHubError
sourceimpl Display for UvmHubError
impl Display for UvmHubError
sourceimpl Error for UvmHubError
impl Error for UvmHubError
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<UvmHubError> for UvmError
impl From<UvmHubError> for UvmError
sourcefn from(e: UvmHubError) -> UvmError
fn from(e: UvmHubError) -> UvmError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for UvmHubError
impl Send for UvmHubError
impl Sync for UvmHubError
impl Unpin for UvmHubError
impl !UnwindSafe for UvmHubError
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