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