#[non_exhaustive]pub enum InstallRuntimeError {
DuplicateCall,
}
Expand description
An error that occurs while installing a runtime.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DuplicateCall
Tried to install a runtime when there was already one installed.
Trait Implementations§
source§impl Clone for InstallRuntimeError
impl Clone for InstallRuntimeError
source§fn clone(&self) -> InstallRuntimeError
fn clone(&self) -> InstallRuntimeError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InstallRuntimeError
impl Debug for InstallRuntimeError
source§impl Display for InstallRuntimeError
impl Display for InstallRuntimeError
source§impl Error for InstallRuntimeError
impl Error for InstallRuntimeError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for InstallRuntimeError
impl RefUnwindSafe for InstallRuntimeError
impl Send for InstallRuntimeError
impl Sync for InstallRuntimeError
impl Unpin for InstallRuntimeError
impl UnwindSafe for InstallRuntimeError
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
source§impl<E> ErrorReport for Ewhere
E: Error + 'static,
impl<E> ErrorReport for Ewhere
E: Error + 'static,
source§fn report(&self) -> Report<ReportHelper<'_>>
fn report(&self) -> Report<ReportHelper<'_>>
Return an object that displays the error and its causes