pub trait MediaButtonsListenerProxyInterface: Send + Sync {
    type OnEventResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn on_media_buttons_event(
        &self,
        event: &MediaButtonsEvent
    ) -> Result<(), Error>;
    fn on_event(&self, event: &MediaButtonsEvent) -> Self::OnEventResponseFut;
}

Required Associated Types§

source

type OnEventResponseFut: Future<Output = Result<(), Error>> + Send

Required Methods§

Implementors§