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§
sourcetype OnAdd: EmptyCallback
type OnAdd: EmptyCallback
Callback on success add
.
sourcetype OnDelete: EmptyCallback
type OnDelete: EmptyCallback
Callback on success delete
.