pub trait AfterCommit: Send + 'static {
type Error: Error + Send + Sync + 'static;
// Required method
fn execute(self) -> impl Future<Output = Result<(), Self::Error>> + Send;
}Expand description
Work that is safe to perform only after the read-model transaction commits.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".