Type Alias moka::notification::ListenerFuture

source ·
pub type ListenerFuture = Pin<Box<dyn Future<Output = ()> + Send>>;
Available on crate features sync or future only.
Expand description

A future returned by an eviction listener.

You can use the boxed method of FutureExt trait to convert a regular Future object into ListenerFuture.

Aliased Type§

struct ListenerFuture { /* private fields */ }