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