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
Source§fn clone(&self) -> PassthroughWorkerInterceptor
fn clone(&self) -> PassthroughWorkerInterceptor
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PassthroughWorkerInterceptor
impl Debug for PassthroughWorkerInterceptor
Source§impl Default for PassthroughWorkerInterceptor
impl Default for PassthroughWorkerInterceptor
Source§fn default() -> PassthroughWorkerInterceptor
fn default() -> PassthroughWorkerInterceptor
Returns the “default value” for a type. Read more
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 moreimpl Copy for PassthroughWorkerInterceptor
Auto Trait Implementations§
impl Freeze for PassthroughWorkerInterceptor
impl RefUnwindSafe for PassthroughWorkerInterceptor
impl Send for PassthroughWorkerInterceptor
impl Sync for PassthroughWorkerInterceptor
impl Unpin 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