pub trait TouchButtonsListenerProxyInterface: Send + Sync {
type OnEventResponseFut: Future<Output = Result<(), Error>> + Send;
// Required method
fn on_event(&self, event: TouchButtonsEvent) -> Self::OnEventResponseFut;
}Required Associated Types§
Required Methods§
fn on_event(&self, event: TouchButtonsEvent) -> Self::OnEventResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".