pub struct WorkerErrorReportedEvent { /* private fields */ }Available on crate features
experimental and ServiceWorker and Target only.Implementations§
Source§impl WorkerErrorReportedEvent
impl WorkerErrorReportedEvent
pub fn new(error_message: ServiceWorkerErrorMessage) -> Self
pub fn error_message(&self) -> &ServiceWorkerErrorMessage
Methods from Deref<Target = ServiceWorkerErrorMessage>§
pub fn error_message(&self) -> &str
pub fn registration_id(&self) -> &RegistrationId
pub fn version_id(&self) -> &str
pub fn source_url(&self) -> &str
pub fn line_number(&self) -> u32
pub fn column_number(&self) -> u32
Trait Implementations§
Source§impl Clone for WorkerErrorReportedEvent
impl Clone for WorkerErrorReportedEvent
Source§fn clone(&self) -> WorkerErrorReportedEvent
fn clone(&self) -> WorkerErrorReportedEvent
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 WorkerErrorReportedEvent
impl Debug for WorkerErrorReportedEvent
Source§impl Deref for WorkerErrorReportedEvent
impl Deref for WorkerErrorReportedEvent
Source§impl<'de> Deserialize<'de> for WorkerErrorReportedEvent
impl<'de> Deserialize<'de> for WorkerErrorReportedEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WorkerErrorReportedEvent
impl RefUnwindSafe for WorkerErrorReportedEvent
impl Send for WorkerErrorReportedEvent
impl Sync for WorkerErrorReportedEvent
impl Unpin for WorkerErrorReportedEvent
impl UnwindSafe for WorkerErrorReportedEvent
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