pub trait CoordinatorListenerProxyInterface: Send + Sync {
// Required methods
fn on_displays_changed(
&self,
added: &[Info],
removed: &[DisplayId],
) -> Result<(), Error>;
fn on_vsync(
&self,
display_id: &DisplayId,
timestamp: MonotonicInstant,
displayed_config_stamp: &ConfigStamp,
cookie: &VsyncAckCookie,
) -> Result<(), Error>;
fn on_client_ownership_change(
&self,
has_ownership: bool,
) -> Result<(), Error>;
}Required Methods§
fn on_displays_changed( &self, added: &[Info], removed: &[DisplayId], ) -> Result<(), Error>
fn on_vsync( &self, display_id: &DisplayId, timestamp: MonotonicInstant, displayed_config_stamp: &ConfigStamp, cookie: &VsyncAckCookie, ) -> Result<(), Error>
fn on_client_ownership_change(&self, has_ownership: bool) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".