pub struct ServerOutboxDeliveryCallback { /* private fields */ }Expand description
OutboxDeliveryCallback backed by the embedded engine.
Implementations§
Trait Implementations§
Source§impl OutboxDeliveryCallback for ServerOutboxDeliveryCallback
impl OutboxDeliveryCallback for ServerOutboxDeliveryCallback
Source§fn deliver_completion(
&self,
workflow_id: &WorkflowId,
activity_id: &ActivityId,
run_id: Option<&RunId>,
result: String,
) -> Result<bool, ServerError>
fn deliver_completion( &self, workflow_id: &WorkflowId, activity_id: &ActivityId, run_id: Option<&RunId>, result: String, ) -> Result<bool, ServerError>
Deliver a successful completion to the live workflow. Read more
Source§fn deliver_failure(
&self,
workflow_id: &WorkflowId,
activity_id: &ActivityId,
run_id: Option<&RunId>,
reason: String,
) -> Result<bool, ServerError>
fn deliver_failure( &self, workflow_id: &WorkflowId, activity_id: &ActivityId, run_id: Option<&RunId>, reason: String, ) -> Result<bool, ServerError>
Deliver a failure to the live workflow. Same
bool/error contract as
Self::deliver_completion. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ServerOutboxDeliveryCallback
impl !UnwindSafe for ServerOutboxDeliveryCallback
impl Freeze for ServerOutboxDeliveryCallback
impl Send for ServerOutboxDeliveryCallback
impl Sync for ServerOutboxDeliveryCallback
impl Unpin for ServerOutboxDeliveryCallback
impl UnsafeUnpin for ServerOutboxDeliveryCallback
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> 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