#[non_exhaustive]pub enum ResolveDependencyOutcome {
Satisfied,
Impossible,
AlreadyResolved,
}Expand description
Typed outcome of
crate::engine_backend::EngineBackend::resolve_dependency.
#[non_exhaustive] so additional variants (e.g. ChildSkipped
cascade hints) can be added in minor releases without forcing
match-arm churn on consumers.
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.
Satisfied
Edge satisfied — downstream may become eligible.
Impossible
Edge made impossible — downstream becomes skipped.
AlreadyResolved
Already resolved (idempotent).
Trait Implementations§
Source§impl Clone for ResolveDependencyOutcome
impl Clone for ResolveDependencyOutcome
Source§fn clone(&self) -> ResolveDependencyOutcome
fn clone(&self) -> ResolveDependencyOutcome
Returns a duplicate 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 ResolveDependencyOutcome
impl Debug for ResolveDependencyOutcome
Source§impl From<ResolveDependencyResult> for ResolveDependencyOutcome
impl From<ResolveDependencyResult> for ResolveDependencyOutcome
Source§fn from(r: ResolveDependencyResult) -> Self
fn from(r: ResolveDependencyResult) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ResolveDependencyOutcome
impl PartialEq for ResolveDependencyOutcome
impl Eq for ResolveDependencyOutcome
impl StructuralPartialEq for ResolveDependencyOutcome
Auto Trait Implementations§
impl Freeze for ResolveDependencyOutcome
impl RefUnwindSafe for ResolveDependencyOutcome
impl Send for ResolveDependencyOutcome
impl Sync for ResolveDependencyOutcome
impl Unpin for ResolveDependencyOutcome
impl UnsafeUnpin for ResolveDependencyOutcome
impl UnwindSafe for ResolveDependencyOutcome
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