pub enum DeclaredBodyLookup {
None,
Declared(ActionBodyContract),
Ambiguous {
count: usize,
},
Unreadable(String),
}Expand description
What a declared-body lookup found for one (task_queue, action) address.
Variants§
None
No retained contract declares a body for this action — it is a requirement on an out-of-band worker and must be delegated.
Declared(ActionBodyContract)
Exactly one distinct body is declared across every retained package version. Safe to execute.
Ambiguous
Retained package versions declare DIFFERENT bodies for this action. Executing one of them would guess which deploy the running workflow meant, so the dispatch is refused by name instead.
Unreadable(String)
The catalog could not be read. The reader reports why; the dispatch is delegated so a readable worker path can still serve it.
Trait Implementations§
Source§impl Clone for DeclaredBodyLookup
impl Clone for DeclaredBodyLookup
Source§fn clone(&self) -> DeclaredBodyLookup
fn clone(&self) -> DeclaredBodyLookup
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 moreAuto Trait Implementations§
impl Freeze for DeclaredBodyLookup
impl RefUnwindSafe for DeclaredBodyLookup
impl Send for DeclaredBodyLookup
impl Sync for DeclaredBodyLookup
impl Unpin for DeclaredBodyLookup
impl UnsafeUnpin for DeclaredBodyLookup
impl UnwindSafe for DeclaredBodyLookup
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<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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request