pub enum ForwardRequest {
Start(StartWorkflowRequest),
Signal(SignalRequest),
Query(QueryRequest),
Cancel(CancelRequest),
Reopen(ReopenRequest),
Pause(PauseRequest),
Resume(ResumeRequest),
MintNamespace(MintNamespaceRequest),
}Expand description
The forwardable client RPCs. For signal/query/cancel the target
workflow_id is known at the edge; start is forwardable once the caller
supplies an R-4 routing_key so the edge can resolve the target shard’s owner
before placing the start.
Variants§
Start(StartWorkflowRequest)
A steered start to relay verbatim to the routing key’s shard owner (R-4).
Signal(SignalRequest)
A signal to relay verbatim to the owner.
Query(QueryRequest)
A query to relay verbatim to the owner.
Cancel(CancelRequest)
A cancel to relay verbatim to the owner.
Reopen(ReopenRequest)
A reopen to relay verbatim to the owner.
Pause(PauseRequest)
A pause to relay verbatim to the owner (#204).
Resume(ResumeRequest)
A resume to relay verbatim to the owner (#204).
MintNamespace(MintNamespaceRequest)
An already-authorized namespace mint to relay to the namespace registry shard’s owner, which applies its own auto-create policy to it.
Trait Implementations§
Source§impl Clone for ForwardRequest
impl Clone for ForwardRequest
Source§fn clone(&self) -> ForwardRequest
fn clone(&self) -> ForwardRequest
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 ForwardRequest
impl RefUnwindSafe for ForwardRequest
impl Send for ForwardRequest
impl Sync for ForwardRequest
impl Unpin for ForwardRequest
impl UnsafeUnpin for ForwardRequest
impl UnwindSafe for ForwardRequest
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