Skip to main content

NavigationExt

Trait NavigationExt 

Source
pub trait NavigationExt {
    // Required methods
    fn back(&self) -> impl Future<Output = Result<(), BrowserError>> + Send;
    fn forward(&self) -> impl Future<Output = Result<(), BrowserError>> + Send;
    fn reload(&self) -> impl Future<Output = Result<(), BrowserError>> + Send;
}
Expand description

Navigation operations for browser client

Required Methods§

Source

fn back(&self) -> impl Future<Output = Result<(), BrowserError>> + Send

Navigate back in browser history

Source

fn forward(&self) -> impl Future<Output = Result<(), BrowserError>> + Send

Navigate forward in browser history

Source

fn reload(&self) -> impl Future<Output = Result<(), BrowserError>> + Send

Reload the current page

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§