pub trait SuiteControllerProxyInterface: Send + Sync {
type WatchEventsResponseFut: Future<Output = Result<SuiteControllerWatchEventsResult, Error>> + Send;
type GetEventsResponseFut: Future<Output = Result<SuiteControllerGetEventsResult, Error>> + Send;
// Required methods
fn stop(&self) -> Result<(), Error>;
fn kill(&self) -> Result<(), Error>;
fn watch_events(&self) -> Self::WatchEventsResponseFut;
fn get_events(&self) -> Self::GetEventsResponseFut;
}Required Associated Types§
type WatchEventsResponseFut: Future<Output = Result<SuiteControllerWatchEventsResult, Error>> + Send
type GetEventsResponseFut: Future<Output = Result<SuiteControllerGetEventsResult, Error>> + Send
Required Methods§
fn stop(&self) -> Result<(), Error>
fn kill(&self) -> Result<(), Error>
fn watch_events(&self) -> Self::WatchEventsResponseFut
fn get_events(&self) -> Self::GetEventsResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".