pub struct GoForwardBuilder {
inner: Weak<Impl>,
args: ReloadArgs,
}Fields§
§inner: Weak<Impl>§args: ReloadArgsImplementations§
Source§impl GoForwardBuilder
impl GoForwardBuilder
pub(crate) fn new(inner: Weak<Impl>) -> Self
pub async fn go_forward(self) -> Result<Option<Response>, Arc<Error>>
pub fn timeout(self, x: f64) -> Self
Sourcepub fn wait_until(self, x: DocumentLoadState) -> Self
pub fn wait_until(self, x: DocumentLoadState) -> Self
When to consider operation succeeded, defaults to load. Events can be either:
'domcontentloaded'- consider operation to be finished when theDOMContentLoadedevent is fired.'load'- consider operation to be finished when theloadevent is fired.'networkidle'- consider operation to be finished when there are no network connections for at least500ms.
pub fn clear_timeout(self) -> Self
pub fn clear_wait_until(self) -> Self
Auto Trait Implementations§
impl Freeze for GoForwardBuilder
impl RefUnwindSafe for GoForwardBuilder
impl Send for GoForwardBuilder
impl Sync for GoForwardBuilder
impl Unpin for GoForwardBuilder
impl UnwindSafe for GoForwardBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more