[−][src]Struct arwa::ServiceWorker
Methods
impl ServiceWorker
[src]
pub fn script_url(&self) -> String
[src]
pub fn state(&self) -> ServiceWorkerState
[src]
pub fn post_message(&self, message: &JsValue)
[src]
pub fn on_state_change(&self) -> OnStateChange
[src]
pub fn on_error(&self) -> OnError
[src]
Trait Implementations
impl AsRef<ServiceWorker> for ServiceWorker
[src]
fn as_ref(&self) -> &ServiceWorker
[src]
impl From<ServiceWorker> for ServiceWorker
[src]
fn from(inner: ServiceWorker) -> Self
[src]
impl Write for ServiceWorker
[src]
Auto Trait Implementations
impl RefUnwindSafe for ServiceWorker
impl !Send for ServiceWorker
impl !Sync for ServiceWorker
impl Unpin for ServiceWorker
impl UnwindSafe for ServiceWorker
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,