Type Alias PostCommitHook

Source
pub type PostCommitHook = Option<Box<dyn Fn() -> BoxFuture<'static, ()> + Send + Sync>>;

Aliased Type§

enum PostCommitHook {
    None,
    Some(Box<dyn Fn() -> Pin<Box<dyn Future<Output = ()> + Send>> + Sync + Send>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Box<dyn Fn() -> Pin<Box<dyn Future<Output = ()> + Send>> + Sync + Send>)

Some value of type T.