Skip to main content

NavigationEventListenerProxyInterface

Trait NavigationEventListenerProxyInterface 

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

    // Required method
    fn on_navigation_state_changed(
        &self,
        change: NavigationState,
    ) -> Self::OnNavigationStateChangedResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§