squire 0.0.1-alpha.1

Safe and idiomatic SQLite bindings
1
2
3
4
5
6
7
8
9
use super::statement::Statement;
use crate::error::Result;

pub(crate) unsafe trait Text {
    type Owned: Clone;
    type Slice<'a>: Copy + Sized + ToOwned<Owned = Self::Owned> + 'a;

    unsafe fn bind(&self, statement: &Statement) -> Result<()>;
}