pub struct SetContentBuilder<'a> {
inner: Weak<Frame>,
args: SetContentArgs<'a>,
}Fields§
§inner: Weak<Frame>§args: SetContentArgs<'a>Implementations§
Source§impl<'a> SetContentBuilder<'a>
impl<'a> SetContentBuilder<'a>
pub(crate) fn new(inner: Weak<Impl>, html: &'a str) -> Self
pub async fn set_content(self) -> Result<(), Arc<Error>>
pub fn timeout(self, x: f64) -> Self
pub fn wait_until(self, x: DocumentLoadState) -> Self
pub fn clear_timeout(self) -> Self
pub fn clear_wait_until(self) -> Self
Auto Trait Implementations§
impl<'a> Freeze for SetContentBuilder<'a>
impl<'a> RefUnwindSafe for SetContentBuilder<'a>
impl<'a> Send for SetContentBuilder<'a>
impl<'a> Sync for SetContentBuilder<'a>
impl<'a> Unpin for SetContentBuilder<'a>
impl<'a> UnwindSafe for SetContentBuilder<'a>
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