mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
lol
This commit is contained in:
@@ -5,7 +5,7 @@ use std::ptr::NonNull;
|
||||
use std::sync::Arc;
|
||||
|
||||
/// A factory which produces new [`TaskHookHarness`] objects for tasks which either have been
|
||||
/// spawned in "detached mode" via [`tokio::task::spawn_with_hooks`], or which were spawned from outside the runtime or
|
||||
/// spawned in "detached mode" via [`crate::task::spawn_with_hooks`], or which were spawned from outside the runtime or
|
||||
/// from another context where no [`TaskHookHarness`] was present.
|
||||
pub trait TaskHookHarnessFactory {
|
||||
/// Create a new [`TaskHookHarness`] object which the runtime will attach to a given task.
|
||||
|
||||
Reference in New Issue
Block a user