pub struct PassthroughWorkerInterceptor;Expand description
An interceptor that only calls next; a base for partial interceptors.
Trait Implementations§
Source§impl Clone for PassthroughWorkerInterceptor
impl Clone for PassthroughWorkerInterceptor
impl Copy for PassthroughWorkerInterceptor
Source§impl Debug for PassthroughWorkerInterceptor
impl Debug for PassthroughWorkerInterceptor
Source§impl WorkerInterceptor for PassthroughWorkerInterceptor
impl WorkerInterceptor for PassthroughWorkerInterceptor
Source§fn execute_workflow_task<'a>(
&'a self,
context: &'a WorkflowTaskInterceptorContext,
next: WorkflowTaskNext<'a>,
) -> InterceptorFuture<'a, Result<WorkflowTaskOutcome>>
fn execute_workflow_task<'a>( &'a self, context: &'a WorkflowTaskInterceptorContext, next: WorkflowTaskNext<'a>, ) -> InterceptorFuture<'a, Result<WorkflowTaskOutcome>>
Wrap one workflow task. Run
next exactly once. Read moreSource§fn execute_activity(
&self,
context: ActivityInterceptorContext,
next: ActivityNext,
) -> InterceptorFuture<'_, Result<AvroValue>>
fn execute_activity( &self, context: ActivityInterceptorContext, next: ActivityNext, ) -> InterceptorFuture<'_, Result<AvroValue>>
Wrap one activity attempt, remote or local. Read more
Source§fn execute_query_task<'a>(
&'a self,
context: &'a QueryTaskInterceptorContext,
next: QueryTaskNext<'a>,
) -> InterceptorFuture<'a, Result<AvroValue, QueryTaskFailure>>
fn execute_query_task<'a>( &'a self, context: &'a QueryTaskInterceptorContext, next: QueryTaskNext<'a>, ) -> InterceptorFuture<'a, Result<AvroValue, QueryTaskFailure>>
Wrap one query task. The returned value is what the worker reports.
Source§fn execute_update_validation_task<'a>(
&'a self,
context: &'a UpdateValidationInterceptorContext,
next: UpdateValidationNext<'a>,
) -> InterceptorFuture<'a, Result<UpdateValidationOutcome>>
fn execute_update_validation_task<'a>( &'a self, context: &'a UpdateValidationInterceptorContext, next: UpdateValidationNext<'a>, ) -> InterceptorFuture<'a, Result<UpdateValidationOutcome>>
Wrap one update-validation task. Run
next exactly once. Read moreAuto Trait Implementations§
impl Forget for PassthroughWorkerInterceptor
impl Freeze for PassthroughWorkerInterceptor
impl Move for PassthroughWorkerInterceptor
impl RefUnwindSafe for PassthroughWorkerInterceptor
impl Send for PassthroughWorkerInterceptor
impl Sync for PassthroughWorkerInterceptor
impl Unpin for PassthroughWorkerInterceptor
impl UnsafeUnpin for PassthroughWorkerInterceptor
impl UnwindSafe for PassthroughWorkerInterceptor
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