pub trait TypeUseCase: Send + Sync {
// Required method
fn execute(&self, input: TypeInput) -> Result<TypeOutput, SessionError>;
}Required Methods§
fn execute(&self, input: TypeInput) -> Result<TypeOutput, SessionError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".