pub struct Notifier { /* private fields */ }
Expand description

A thread status notifier, that allows a thread to notify the Runtime of the current status of the thread.

Implementations

Notify the Runtime that the thread is busy processing.

Notify the Runtime to request that the Runtime and all other registered thread pause processing.

Notify the Runtime to request that the Runtime and all other registered thread resume processing.

Notify the Runtime to request that the Runtime and all other registered thread end processing.

Notify the Runtime that the thread is waiting for new data or messages to process.

Notify the Runtime that the thread is in a permanent error state.

Notify the Runtime that the thread has ended processing.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.