#[non_exhaustive]pub enum RuntimeResolutionError {
UnsupportedOwnership {
kind: RuntimeResourceKind,
name: String,
},
MissingUserOverride {
kind: RuntimeResourceKind,
name: String,
},
Duplicate {
kind: RuntimeResourceKind,
name: String,
},
}Expand description
Invalid or ambiguous caller-supplied runtime lifecycle resolution.
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.
UnsupportedOwnership
Only application-owned and external resources can resolve runtime lifecycle uncertainty.
MissingUserOverride
A resolution did not carry explicit caller/user-override provenance.
Duplicate
The same resource already has a resolution.
Trait Implementations§
Source§impl Clone for RuntimeResolutionError
impl Clone for RuntimeResolutionError
Source§fn clone(&self) -> RuntimeResolutionError
fn clone(&self) -> RuntimeResolutionError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RuntimeResolutionError
impl Debug for RuntimeResolutionError
Source§impl Display for RuntimeResolutionError
impl Display for RuntimeResolutionError
impl Eq for RuntimeResolutionError
Source§impl Error for RuntimeResolutionError
impl Error for RuntimeResolutionError
1.30.0 · 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 PartialEq for RuntimeResolutionError
impl PartialEq for RuntimeResolutionError
impl StructuralPartialEq for RuntimeResolutionError
Auto Trait Implementations§
impl Freeze for RuntimeResolutionError
impl RefUnwindSafe for RuntimeResolutionError
impl Send for RuntimeResolutionError
impl Sync for RuntimeResolutionError
impl Unpin for RuntimeResolutionError
impl UnsafeUnpin for RuntimeResolutionError
impl UnwindSafe for RuntimeResolutionError
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