[−][src]Struct movine::adaptor::SqliteAdaptor
Methods
impl SqliteAdaptor
[src]
pub fn new(filename: &str) -> Result<Self>
[src]
pub fn from_params(params: &SqliteParams) -> Result<Self>
[src]
Trait Implementations
impl DbAdaptor for SqliteAdaptor
[src]
fn init_up_sql(&self) -> &'static str
[src]
fn init_down_sql(&self) -> &'static str
[src]
fn load_migrations(&self) -> Result<Vec<Migration>>
[src]
fn run_up_migration(&mut self, migration: &Migration) -> Result<()>
[src]
fn run_down_migration(&mut self, migration: &Migration) -> Result<()>
[src]
fn run_migration_plan(&mut self, plan: &[(Step, &Migration)]) -> Result<()>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SqliteAdaptor
impl Send for SqliteAdaptor
impl !Sync for SqliteAdaptor
impl Unpin for SqliteAdaptor
impl UnwindSafe for SqliteAdaptor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,