pub struct GotoBuilder<'a, 'b> {
inner: Weak<Frame>,
args: GotoArgs<'a, 'b>,
}Fields§
§inner: Weak<Frame>§args: GotoArgs<'a, 'b>Implementations§
Source§impl<'a, 'b> GotoBuilder<'a, 'b>
impl<'a, 'b> GotoBuilder<'a, 'b>
pub(crate) fn new(inner: Weak<Impl>, url: &'a str) -> Self
pub async fn goto(self) -> Result<Option<Response>, Arc<Error>>
Sourcepub fn referer(self, x: &'b str) -> Self
pub fn referer(self, x: &'b str) -> Self
Referer header value. If provided it will take preference over the referer header value set by
[method: Page.setExtraHTTPHeaders].
pub fn timeout(self, x: f64) -> Self
pub fn wait_until(self, x: DocumentLoadState) -> Self
pub fn clear_referer(self) -> Self
pub fn clear_timeout(self) -> Self
pub fn clear_wait_until(self) -> Self
Auto Trait Implementations§
impl<'a, 'b> Freeze for GotoBuilder<'a, 'b>
impl<'a, 'b> RefUnwindSafe for GotoBuilder<'a, 'b>
impl<'a, 'b> Send for GotoBuilder<'a, 'b>
impl<'a, 'b> Sync for GotoBuilder<'a, 'b>
impl<'a, 'b> Unpin for GotoBuilder<'a, 'b>
impl<'a, 'b> UnwindSafe for GotoBuilder<'a, 'b>
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