pub struct GoBackBuilder { /* private fields */ }Implementations§
Source§impl GoBackBuilder
impl GoBackBuilder
pub async fn go_back(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 GoBackBuilder
impl RefUnwindSafe for GoBackBuilder
impl Send for GoBackBuilder
impl Sync for GoBackBuilder
impl Unpin for GoBackBuilder
impl UnwindSafe for GoBackBuilder
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