pub trait ExecutorApp<C: ExecutorContext>:
Send
+ Sync
+ 'static {
// Required methods
fn register_memory_context(&self, root: PathBuf, ctx: &Arc<C>);
fn unregister_memory_context(&self, root: &Path, ctx: &Arc<C>);
fn actor_root_registered(&self);
fn actor_root_unregistered(&self);
}Expand description
Process census callbacks used when an executor adds or removes a root.
Required Methods§
fn register_memory_context(&self, root: PathBuf, ctx: &Arc<C>)
fn unregister_memory_context(&self, root: &Path, ctx: &Arc<C>)
fn actor_root_registered(&self)
fn actor_root_unregistered(&self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".