Describe ExecuteCallback

This commit is contained in:
Ivan Ukhov 2015-05-29 09:29:45 -04:00
parent 83fb866c60
commit e9d7efdf77

View File

@ -98,6 +98,7 @@ pub struct Database<'d> {
_phantom: PhantomData<&'d raw::sqlite3>, _phantom: PhantomData<&'d raw::sqlite3>,
} }
/// A callback executed for each row of the result of an SQL query.
pub type ExecuteCallback<'c> = FnMut(Vec<(String, String)>) -> bool + 'c; pub type ExecuteCallback<'c> = FnMut(Vec<(String, String)>) -> bool + 'c;
impl<'d> Database<'d> { impl<'d> Database<'d> {