pub struct DownloadProgressEventBuilder { /* private fields */ }๐Deprecated
Available on crate features
Page and Debugger and DOM and IO and Network and Runtime and experimental only.Implementationsยง
Sourceยงimpl DownloadProgressEventBuilder
impl DownloadProgressEventBuilder
Sourcepub fn guid(&mut self, v: String) -> &mut Self
๐Deprecated
pub fn guid(&mut self, v: String) -> &mut Self
Global unique identifier of the download.
Sourcepub fn total_bytes(&mut self, v: f64) -> &mut Self
๐Deprecated
pub fn total_bytes(&mut self, v: f64) -> &mut Self
Total expected bytes to download.
Sourcepub fn received_bytes(&mut self, v: f64) -> &mut Self
๐Deprecated
pub fn received_bytes(&mut self, v: f64) -> &mut Self
Total bytes received.
Sourcepub fn state(&mut self, v: DownloadProgressEventState) -> &mut Self
๐Deprecated
pub fn state(&mut self, v: DownloadProgressEventState) -> &mut Self
Download status.
pub fn build(&mut self) -> Result<DownloadProgressEvent, &'static str>
๐Deprecated
Trait Implementationsยง
Sourceยงimpl Clone for DownloadProgressEventBuilder
impl Clone for DownloadProgressEventBuilder
Sourceยงfn clone(&self) -> DownloadProgressEventBuilder
fn clone(&self) -> DownloadProgressEventBuilder
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementationsยง
impl Freeze for DownloadProgressEventBuilder
impl RefUnwindSafe for DownloadProgressEventBuilder
impl Send for DownloadProgressEventBuilder
impl Sync for DownloadProgressEventBuilder
impl Unpin for DownloadProgressEventBuilder
impl UnwindSafe for DownloadProgressEventBuilder
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