pub trait InputSource: Into<ActionSequence> {
type Action;
// Required methods
fn pause(self, duration: Duration) -> Self;
fn then(self, action: Self::Action) -> Self;
}
Expand description
A source capable of providing inputs for a browser action chain.
See input source in the WebDriver standard.
Each sequence type implements InputSource
which provides a pause()
and a then()
method. Each call to pause()
or then()
represents one tick for this sequence.
Required Associated Types§
Required Methods§
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.