pub trait OffscreenKernel:
Send
+ Sync
+ 'static {
type HttpClient: HttpClient;
// Required methods
fn create(config: OffscreenKernelConfig) -> Self;
fn source_client(&self) -> SourceClient<Self::HttpClient>;
}Required Associated Types§
type HttpClient: HttpClient
Required Methods§
fn create(config: OffscreenKernelConfig) -> Self
fn source_client(&self) -> SourceClient<Self::HttpClient>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.