pub struct LoadingFinishedEventBuilder { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security only.Implementations§
Source§impl LoadingFinishedEventBuilder
impl LoadingFinishedEventBuilder
Sourcepub fn request_id(&mut self, v: RequestId) -> &mut Self
pub fn request_id(&mut self, v: RequestId) -> &mut Self
Request identifier.
Sourcepub fn timestamp(&mut self, v: MonotonicTime) -> &mut Self
pub fn timestamp(&mut self, v: MonotonicTime) -> &mut Self
Timestamp.
Sourcepub fn encoded_data_length(&mut self, v: f64) -> &mut Self
pub fn encoded_data_length(&mut self, v: f64) -> &mut Self
Total number of bytes received for this request.
Sourcepub fn should_report_corb_blocking(&mut self, v: bool) -> &mut Self
pub fn should_report_corb_blocking(&mut self, v: bool) -> &mut Self
Set when 1) response was blocked by Cross-Origin Read Blocking and also 2) this needs to be reported to the DevTools console.
pub fn build(&mut self) -> Result<LoadingFinishedEvent, &'static str>
Trait Implementations§
Source§impl Clone for LoadingFinishedEventBuilder
impl Clone for LoadingFinishedEventBuilder
Source§fn clone(&self) -> LoadingFinishedEventBuilder
fn clone(&self) -> LoadingFinishedEventBuilder
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 moreSource§impl Debug for LoadingFinishedEventBuilder
impl Debug for LoadingFinishedEventBuilder
Auto Trait Implementations§
impl Freeze for LoadingFinishedEventBuilder
impl RefUnwindSafe for LoadingFinishedEventBuilder
impl Send for LoadingFinishedEventBuilder
impl Sync for LoadingFinishedEventBuilder
impl Unpin for LoadingFinishedEventBuilder
impl UnwindSafe for LoadingFinishedEventBuilder
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