pub trait ForegroundServiceFactory:
Send
+ Sync
+ 'static {
// Required method
fn create(&self, ctx: &Context<'_>) -> ForegroundServiceObjectBox;
}Required Methods§
fn create(&self, ctx: &Context<'_>) -> ForegroundServiceObjectBox
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".