create SimIO trait

This commit is contained in:
pedrocarlo
2025-08-20 10:58:01 -03:00
parent bc707fd9be
commit d8e9f145e6

View File

@@ -11,3 +11,13 @@ pub mod io;
pub mod watch;
pub const FAULT_ERROR_MSG: &str = "Injected Fault";
pub trait SimIO: turso_core::IO {
fn inject_fault(&self, fault: bool);
fn print_stats(&self);
fn syncing(&self) -> bool;
fn close_files(&self);
}