Skip to main content

TaskPoolCallbacks

Trait TaskPoolCallbacks 

Source
pub trait TaskPoolCallbacks {
    type OnAdd: EmptyCallback;
    type OnDelete: EmptyCallback;
}
Expand description

Represents store of task pool’s action callbacks.

Required Associated Types§

Source

type OnAdd: EmptyCallback

Callback on success add.

Source

type OnDelete: EmptyCallback

Callback on success delete.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§