INNER CODE UNIT · Rust

from

splitgraph/seafowl · src/catalog/mod.rs:146

    fn from(val: serde_json::Error) -> Self {
        Self {
            message: val.to_string(),
        }
    }
}

pub type CatalogResult<T> = Result<T, CatalogError>;

#[async_trait]
pub trait CatalogStore: Debug + Sync + Send {
    async fn create(&self, _name: &str) -> CatalogResult<()> {
        not_impl()
    }

    async fn get(&self, _name: &str) -> CatalogResult<DatabaseRecord> {
        not_impl()
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…