AppContext

Trait AppContext 

Source
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§

Source

fn clone_context(&self) -> Arc<dyn AppContext>

Clone the context for use in another thread

Implementors§