tokio::runtime::scheduler::current_thread

Type Alias Notified

Source
type Notified = Notified<Arc<Handle>>;

Aliased Type§

struct Notified(Task<Arc<Handle>>);

Fields§

§0: Task<Arc<Handle>>

Implementations

Source§

impl<S: 'static> Notified<S>

Source

fn header(&self) -> &Header

Source§

impl<S: 'static> Notified<S>

Source

pub(crate) unsafe fn from_raw(ptr: RawTask) -> Notified<S>

Source§

impl<S: 'static> Notified<S>

Source

pub(crate) fn into_raw(self) -> RawTask

Trait Implementations

Source§

impl<S> Debug for Notified<S>

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<S: Schedule> Send for Notified<S>

Source§

impl<S: Schedule> Sync for Notified<S>