pub trait CollectionsEventHandlerwhere
    Self: FnMut(CollectionsEvent) + Send + 'static,
{ }
Expand description

An alias for FnMut(CollectionsEvent) + Send + 'static. A closure which is called on each event relating to changes in the known about collections.

Ditto may call this handler in parallel such as when a second invocation happens before the first invocation has completed. This typically occurs when the closure makes slow, external calls.

Implementors