pub struct ServiceWorkerErrorMessageBuilder { /* private fields */ }Available on crate features
experimental and ServiceWorker and Target only.Implementations§
Source§impl ServiceWorkerErrorMessageBuilder
impl ServiceWorkerErrorMessageBuilder
pub fn error_message(&mut self, v: String) -> &mut Self
pub fn registration_id(&mut self, v: RegistrationId) -> &mut Self
pub fn version_id(&mut self, v: String) -> &mut Self
pub fn source_url(&mut self, v: String) -> &mut Self
pub fn line_number(&mut self, v: u32) -> &mut Self
pub fn column_number(&mut self, v: u32) -> &mut Self
pub fn build(&mut self) -> Result<ServiceWorkerErrorMessage, &'static str>
Trait Implementations§
Source§impl Clone for ServiceWorkerErrorMessageBuilder
impl Clone for ServiceWorkerErrorMessageBuilder
Source§fn clone(&self) -> ServiceWorkerErrorMessageBuilder
fn clone(&self) -> ServiceWorkerErrorMessageBuilder
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 ServiceWorkerErrorMessageBuilder
impl RefUnwindSafe for ServiceWorkerErrorMessageBuilder
impl Send for ServiceWorkerErrorMessageBuilder
impl Sync for ServiceWorkerErrorMessageBuilder
impl Unpin for ServiceWorkerErrorMessageBuilder
impl UnwindSafe for ServiceWorkerErrorMessageBuilder
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