sabiql 1.10.0

A fast, driver-less TUI for browsing and editing PostgreSQL databases
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::path::Path;

#[derive(Debug, Clone, thiserror::Error)]
#[error("{message}")]
pub struct FolderOpenError {
    pub message: String,
}

pub trait FolderOpener: Send + Sync {
    fn open(&self, path: &Path) -> Result<(), FolderOpenError>;
}