Trait Store
vemigrate
pub trait Store { type Row: MigrationRow; type Error: Error + 'static; fn get_all(&self) -> Result<Option<Vec<Self::Row>>, Self::Error>; fn add(&self, id: u64, up: bool) -> Result<(), Self::Error>; fn exec(&self, q: &str) -> Result<(), Self::Error>; }
type Row: MigrationRow
type Error: Error + 'static
fn get_all(&self) -> Result<Option<Vec<Self::Row>>, Self::Error>
fn add(&self, id: u64, up: bool) -> Result<(), Self::Error>
fn exec(&self, q: &str) -> Result<(), Self::Error>