pub enum ServiceWorkerRouterSource {
Network,
Cache,
FetchEvent,
RaceNetworkAndFetchHandler,
RaceNetworkAndCache,
Unrecognized(String),
}Expand description
Source of service worker router.
Variants§
Network
network
Cache
cache
FetchEvent
fetch-event
RaceNetworkAndFetchHandler
race-network-and-fetch-handler
RaceNetworkAndCache
race-network-and-cache
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for ServiceWorkerRouterSource
impl Clone for ServiceWorkerRouterSource
Source§impl Debug for ServiceWorkerRouterSource
impl Debug for ServiceWorkerRouterSource
Source§impl<'de> Deserialize<'de> for ServiceWorkerRouterSource
impl<'de> Deserialize<'de> for ServiceWorkerRouterSource
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
impl Eq for ServiceWorkerRouterSource
Source§impl Hash for ServiceWorkerRouterSource
impl Hash for ServiceWorkerRouterSource
impl StructuralPartialEq for ServiceWorkerRouterSource
Auto Trait Implementations§
impl Forget for ServiceWorkerRouterSource
impl Freeze for ServiceWorkerRouterSource
impl RefUnwindSafe for ServiceWorkerRouterSource
impl Send for ServiceWorkerRouterSource
impl Sync for ServiceWorkerRouterSource
impl Unpin for ServiceWorkerRouterSource
impl UnsafeUnpin for ServiceWorkerRouterSource
impl UnwindSafe for ServiceWorkerRouterSource
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