INNER CODE UNIT · Rust

log

gluesql/glues · core/src/backend.rs:103

    async fn log(&mut self, category: String, message: String) -> Result<()>;

    fn sync_job(&self) -> Option<SyncJob>;
}

#[async_trait]
impl CoreBackend for Box<dyn CoreBackend + Send> {
    fn root_id(&self) -> DirectoryId {
        (**self).root_id()
    }

    async fn fetch_directory(&mut self, directory_id: DirectoryId) -> Result<Directory> {
        (**self).fetch_directory(directory_id).await
    }

    async fn fetch_directories(&mut self, parent_id: DirectoryId) -> Result<Vec<Directory>> {
        (**self).fetch_directories(parent_id).await
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…