pub struct LifecycleService<S> { /* private fields */ }Expand description
A service that tracks the lifecycle of a task.
LifecycleService registers tasks with the worker before processing and
wraps the underlying service future in a LifecycleFuture to track task
state and completion.
Trait Implementations§
Source§impl<S: Clone> Clone for LifecycleService<S>
impl<S: Clone> Clone for LifecycleService<S>
Source§fn clone(&self) -> LifecycleService<S>
fn clone(&self) -> LifecycleService<S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Debug> Debug for LifecycleService<S>
impl<S: Debug> Debug for LifecycleService<S>
Auto Trait Implementations§
impl<S> !RefUnwindSafe for LifecycleService<S>
impl<S> !UnwindSafe for LifecycleService<S>
impl<S> Freeze for LifecycleService<S>where
S: Freeze,
impl<S> Send for LifecycleService<S>where
S: Send,
impl<S> Sync for LifecycleService<S>where
S: Sync,
impl<S> Unpin for LifecycleService<S>where
S: Unpin,
impl<S> UnsafeUnpin for LifecycleService<S>where
S: 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