pub enum ServiceName {
BackgroundFetch,
BackgroundSync,
PushMessaging,
Notifications,
PaymentHandler,
PeriodicBackgroundSync,
Unrecognized(String),
}Expand description
The Background Service that will be associated with the commands/events. Every Background Service operates independently, but they share the same API.
Variants§
BackgroundFetch
backgroundFetch
BackgroundSync
backgroundSync
PushMessaging
pushMessaging
Notifications
notifications
PaymentHandler
paymentHandler
PeriodicBackgroundSync
periodicBackgroundSync
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 ServiceName
impl Clone for ServiceName
Source§impl Debug for ServiceName
impl Debug for ServiceName
Source§impl<'de> Deserialize<'de> for ServiceName
impl<'de> Deserialize<'de> for ServiceName
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 ServiceName
Source§impl Hash for ServiceName
impl Hash for ServiceName
Source§impl PartialEq for ServiceName
impl PartialEq for ServiceName
Source§impl Serialize for ServiceName
impl Serialize for ServiceName
impl StructuralPartialEq for ServiceName
Auto Trait Implementations§
impl Forget for ServiceName
impl Freeze for ServiceName
impl RefUnwindSafe for ServiceName
impl Send for ServiceName
impl Sync for ServiceName
impl Unpin for ServiceName
impl UnsafeUnpin for ServiceName
impl UnwindSafe for ServiceName
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