Trait Store
vemigrate
pub trait Store { type StoreError: Into<Error>; fn get_all(&self) -> Result<Option<Vec<MigrationRow>>, Self::StoreError>; fn store_one(&self, id: i64, up: bool) -> Result<(), Self::StoreError>; fn exec(&self, q: &str) -> Result<(), Self::StoreError>; }
type StoreError: Into<Error>
fn get_all(&self) -> Result<Option<Vec<MigrationRow>>, Self::StoreError>
fn store_one(&self, id: i64, up: bool) -> Result<(), Self::StoreError>
fn exec(&self, q: &str) -> Result<(), Self::StoreError>