pub struct Worker { /* private fields */ }Implementations§
Trait Implementations§
Source§impl WorkerService for Worker
impl WorkerService for Worker
fn init_lifecycle(&mut self, rx: Receiver<LifecycleEvent>)
fn handle_lifecycle_events(&mut self) -> Option<LifecycleEvent>
fn execute<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
impl Send for Worker
impl Sync for Worker
Auto Trait Implementations§
impl Freeze for Worker
impl RefUnwindSafe for Worker
impl Unpin for Worker
impl UnsafeUnpin for Worker
impl UnwindSafe for Worker
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