pub enum CtxTier {
AgentInline,
MetaRef,
BpGlobal,
}Expand description
The 3 tiers that are resolvable statically, from a Blueprint alone —
no launch-time (Run / Task) or dispatch-time (Step) input required.
At runtime the Run / Task / Step tiers always win over these (see
crate::middleware::agent_context’s module doc: “the full cascade is
Run > Task > Step > Agent > BP-global”); they only exist once a launch
(Run/Task) or a dispatched Step supplies them, so a static explain view
has nothing to show for them and they are out of scope here.
Variants§
AgentInline
AgentMeta.ctx — this agent’s own inline context. Highest static
priority.
MetaRef
AgentMeta.meta_ref, resolved against the named Blueprint.metas
pool. Sits between Self::AgentInline and Self::BpGlobal.
BpGlobal
Blueprint.default_agent_ctx — the BP-wide default. Lowest static
priority.
Trait Implementations§
impl Copy for CtxTier
impl Eq for CtxTier
impl StructuralPartialEq for CtxTier
Auto Trait Implementations§
impl Freeze for CtxTier
impl RefUnwindSafe for CtxTier
impl Send for CtxTier
impl Sync for CtxTier
impl Unpin for CtxTier
impl UnsafeUnpin for CtxTier
impl UnwindSafe for CtxTier
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
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§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
Compare self to
key and return true if they are equal.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>
Converts
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>
Converts
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