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: i64,
        applied_config_stamp: &ConfigStamp,
        cookie: &VsyncAckCookie,
    ) -> Result<(), Error>;
    fn on_client_ownership_change(
        &self,
        has_ownership: bool,
    ) -> Result<(), Error>;
}

Required Methods§

source

fn on_displays_changed( &self, added: &[Info], removed: &[DisplayId], ) -> Result<(), Error>

source

fn on_vsync( &self, display_id: &DisplayId, timestamp: i64, applied_config_stamp: &ConfigStamp, cookie: &VsyncAckCookie, ) -> Result<(), Error>

source

fn on_client_ownership_change(&self, has_ownership: bool) -> Result<(), Error>

Implementors§