libsql_replication 0.9.30

Replication protocol for libSQL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub type Result<T, E = Error> = std::result::Result<T, E>;
pub type BoxError = Box<dyn std::error::Error + Send + Sync + 'static>;

#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("IO error: {0}")]
    Io(#[from] std::io::Error),
    #[error("SQLite error: {0}")]
    Sqlite(#[from] rusqlite::Error),
    #[error("A fatal error occured injecting frames: {0}")]
    FatalInjectError(BoxError),
}