Skip to main content

PageObjectInfo

Trait PageObjectInfo 

Source
pub trait PageObjectInfo:
    Debug
    + Send
    + Sync {
    // Required methods
    fn url_pattern(&self) -> &str;
    fn page_name(&self) -> &str;
    fn load_timeout_ms(&self) -> u64;
}
Expand description

Trait for type-erased page object info

Required Methods§

Source

fn url_pattern(&self) -> &str

Get the URL pattern

Source

fn page_name(&self) -> &str

Get the page name

Source

fn load_timeout_ms(&self) -> u64

Get the load timeout

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T: PageObject + Debug + Send + Sync + 'static> PageObjectInfo for T