pub struct LifecycleLayer { /* private fields */ }Expand description
A layer that tracks the lifecycle of tasks processed by a worker.
The layer registers each task with the WorkerContext and wraps the
resulting task future so that its lifecycle state can be updated as the
future progresses.
Trait Implementations§
Source§impl Clone for LifecycleLayer
impl Clone for LifecycleLayer
Source§impl Debug for LifecycleLayer
impl Debug for LifecycleLayer
Auto Trait Implementations§
impl !RefUnwindSafe for LifecycleLayer
impl !UnwindSafe for LifecycleLayer
impl Freeze for LifecycleLayer
impl Send for LifecycleLayer
impl Sync for LifecycleLayer
impl Unpin for LifecycleLayer
impl UnsafeUnpin for LifecycleLayer
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