fidl_fuchsia_hardware_display

Trait CoordinatorListenerProxyInterface

Source
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§