fidl_fuchsia_media

Trait UsageWatcherProxyInterface

Source
pub trait UsageWatcherProxyInterface: Send + Sync {
    type OnStateChangedResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required method
    fn on_state_changed(
        &self,
        usage: &Usage,
        state: &UsageState,
    ) -> Self::OnStateChangedResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn on_state_changed( &self, usage: &Usage, state: &UsageState, ) -> Self::OnStateChangedResponseFut

Implementors§