Skip to main content

RecordCatalog

Trait RecordCatalog 

Source
pub trait RecordCatalog: Sized + CatalogCodec {
    // Required method
    fn restore(
        id: &DefinitionId,
        version: u32,
        payload: &Value,
    ) -> Result<Option<Self>, Error>;
}

Required Methods§

Source

fn restore( id: &DefinitionId, version: u32, payload: &Value, ) -> Result<Option<Self>, Error>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl RecordCatalog for ()

Implementors§