pub struct ActivityNext { /* private fields */ }Expand description
Continues an activity chain; the innermost next runs the activity.
Implementations§
Source§impl ActivityNext
impl ActivityNext
Sourcepub fn run(
self,
context: ActivityInterceptorContext,
) -> InterceptorFuture<'static, Result<AvroValue>>
pub fn run( self, context: ActivityInterceptorContext, ) -> InterceptorFuture<'static, Result<AvroValue>>
Run the rest of the chain and the activity handler.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ActivityNext
impl !UnwindSafe for ActivityNext
impl Forget for ActivityNext
impl Freeze for ActivityNextwhere
*const ArcInner<[RegisteredInterceptor]> is !null: Freeze,
PhantomData<ArcInner<[RegisteredInterceptor]>>: Freeze,
*const ArcInner<dyn Fn(ActivityContext, AvroValue) -> Pin<Box<dyn Future<Output = Result<AvroValue, Error>> + Send>> + Send + Sync> is !null: Freeze,
PhantomData<ArcInner<dyn Fn(ActivityContext, AvroValue) -> Pin<Box<dyn Future<Output = Result<AvroValue, Error>> + Send>> + Send + Sync>>: Freeze,
impl Move for ActivityNext
impl Send for ActivityNext
impl Sync for ActivityNext
impl Unpin for ActivityNext
impl UnsafeUnpin for ActivityNextwhere
*const ArcInner<[RegisteredInterceptor]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[RegisteredInterceptor]>>: UnsafeUnpin,
*const ArcInner<dyn Fn(ActivityContext, AvroValue) -> Pin<Box<dyn Future<Output = Result<AvroValue, Error>> + Send>> + Send + Sync> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Fn(ActivityContext, AvroValue) -> Pin<Box<dyn Future<Output = Result<AvroValue, Error>> + Send>> + Send + Sync>>: UnsafeUnpin,
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