pub struct AlreadyConfigured { /* private fields */ }Expand description
configure was called after the setting was fixed: by an earlier
configure, or by the first page or /sw.js request, which read the
default.
Implementations§
Source§impl AlreadyConfigured
impl AlreadyConfigured
Sourcepub fn current(&self) -> &ServiceWorker
pub fn current(&self) -> &ServiceWorker
The setting in force, which stays.
Trait Implementations§
Source§impl Clone for AlreadyConfigured
impl Clone for AlreadyConfigured
Source§impl Debug for AlreadyConfigured
impl Debug for AlreadyConfigured
Source§impl Display for AlreadyConfigured
impl Display for AlreadyConfigured
impl Eq for AlreadyConfigured
Source§impl Error for AlreadyConfigured
impl Error for AlreadyConfigured
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for AlreadyConfigured
impl PartialEq for AlreadyConfigured
impl StructuralPartialEq for AlreadyConfigured
Auto Trait Implementations§
impl Freeze for AlreadyConfigured
impl RefUnwindSafe for AlreadyConfigured
impl Send for AlreadyConfigured
impl Sync for AlreadyConfigured
impl Unpin for AlreadyConfigured
impl UnsafeUnpin for AlreadyConfigured
impl UnwindSafe for AlreadyConfigured
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