Trait gear_common::scheduler::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.

Implementors§