pub trait ReactiveCollectionIntegration {
// Required methods
fn on_content_materialized(
&self,
operation: &Operation,
) -> Result<(), String>;
fn affects_collection(&self, namespace: &str) -> bool;
}Expand description
Reactive collection integration This trait allows acquired content to participate in reactive collections
Required Methods§
Sourcefn on_content_materialized(&self, operation: &Operation) -> Result<(), String>
fn on_content_materialized(&self, operation: &Operation) -> Result<(), String>
Notify the collection that new content was acquired and materialized
Sourcefn affects_collection(&self, namespace: &str) -> bool
fn affects_collection(&self, namespace: &str) -> bool
Check if this collection would be affected by materialization
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".