Skip to main content

MetadataStore

Trait MetadataStore 

Source
pub trait MetadataStore: MemoryBounds {
    // Required methods
    fn name(&self) -> &'static str;
    fn process_operation(&mut self, operation: MetadataOperation);
}
Expand description

A store which receives a stream of metadata operations.

Required Methods§

Source

fn name(&self) -> &'static str

Returns the name of the store.

Source

fn process_operation(&mut self, operation: MetadataOperation)

Process a metadata operation.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§