pub trait TaskActor: Task {
fn start<'async_trait, Id>(
self,
id: Id
) -> Pin<Box<dyn Future<Output = Arc<TaskCloseHandle>> + Send + 'async_trait>>
where
Self: Sized + 'async_trait,
Id: 'async_trait + Into<ActorId> + Send;
}Expand description
Actor trait that all generic (non-specialized) actors must implement.