PostCommitHook

Type Alias PostCommitHook 

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

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.