pub trait TUnitOfWorkCommandHandler: Send + Sync {
type Dependency;
// Required method
fn destruct(self) -> Self::Dependency;
}Required Associated Types§
type Dependency
Required Methods§
fn destruct(self) -> Self::Dependency
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".