[][src]Trait vemigrate::Store

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>; }

Associated Types

Loading content...

Required methods

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>

Loading content...

Implementors

Loading content...