pub enum ResolutionContext {
Interactive,
Durable,
}Expand description
Where a pipeline entry string is being resolved from — determines whether
an unqualified name (no @version) is legal. The dividing line is
source-spec-text vs. compiled-artifact-reference, not “which command
invoked it”: cuttlefish build resolves an unqualified name from the
spec it was given exactly once, at build time, and records the exact
resolution in the manifest it emits — the unqualified form itself never
survives into that manifest.
Variants§
Interactive
Resolving a reference found directly in a source .cuttlefish spec,
on behalf of a top-level interactive command (cuttlefish run, or
cuttlefish build pointed at that spec file). Unqualified names are
legal here.
Durable
Resolving a node reference already recorded inside a bundle’s manifest. Unqualified names are illegal here.
Trait Implementations§
Source§impl Clone for ResolutionContext
impl Clone for ResolutionContext
Source§fn clone(&self) -> ResolutionContext
fn clone(&self) -> ResolutionContext
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ResolutionContext
Source§impl Debug for ResolutionContext
impl Debug for ResolutionContext
impl Eq for ResolutionContext
Source§impl PartialEq for ResolutionContext
impl PartialEq for ResolutionContext
impl StructuralPartialEq for ResolutionContext
Auto Trait Implementations§
impl Freeze for ResolutionContext
impl RefUnwindSafe for ResolutionContext
impl Send for ResolutionContext
impl Sync for ResolutionContext
impl Unpin for ResolutionContext
impl UnsafeUnpin for ResolutionContext
impl UnwindSafe for ResolutionContext
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more