Skip to main content

Connection

Trait Connection 

Source
pub trait Connection: Sized {
    // Required methods
    fn query_all(
        &self,
        select: SelectStatement,
    ) -> Result<Vec<RusqliteRow>, RusqliteError>;
    fn query_all_raw(
        &self,
        sql: String,
    ) -> Result<Vec<RusqliteRow>, RusqliteError>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§