pub trait AppContext:
AsAny
+ Send
+ Sync
+ 'static {
// Required method
fn clone_context(&self) -> Arc<dyn AppContext>;
}Expand description
Application context containing shared resources
Required Methods§
Sourcefn clone_context(&self) -> Arc<dyn AppContext>
fn clone_context(&self) -> Arc<dyn AppContext>
Clone the context for use in another thread