pub trait ReaderMutApi: SqlExecutorMut<Sqlite> {
// Provided methods
async fn select<SE, M>(
&mut self,
selection: &SE,
unique: &dyn SqliteUnique<Mutation = M>,
) -> Result<Option<SE>>
where M: SqliteMutation,
SE: SqliteSelected + Send + Unpin { ... }
async fn search<SE>(
&mut self,
selection: &SE,
location: &dyn SqliteLocation,
order_by: &dyn OrderBy,
page: &Pagination,
) -> Result<Vec<SE>>
where SE: SqliteSelected + Send + Unpin { ... }
async fn search_all<SE>(
&mut self,
selection: &SE,
location: &dyn SqliteLocation,
order_by: &dyn OrderBy,
) -> Result<Vec<SE>>
where SE: SqliteSelected + Send + Unpin { ... }
async fn search_paged<SE>(
&mut self,
selection: &SE,
location: &dyn SqliteLocation,
order_by: &dyn OrderBy,
page: &Pagination,
) -> Result<PagedList<Sqlite, SE>>
where SE: SqliteSelected + Send + Unpin { ... }
async fn exists<M: SqliteMutation>(
&mut self,
unique: &dyn SqliteUnique<Mutation = M>,
) -> Result<bool> { ... }
async fn count(&mut self, location: &dyn SqliteLocation) -> Result<u64> { ... }
async fn select_full<SE, M>(
&mut self,
unique: &dyn SqliteUnique<Mutation = M>,
) -> Result<Option<SE>>
where M: SqliteMutation,
SE: SqliteSelected + Send + Unpin { ... }
async fn search_full<SE>(
&mut self,
location: &dyn SqliteLocation,
order_by: &dyn OrderBy,
page: &Pagination,
) -> Result<Vec<SE>>
where SE: SqliteSelected + Send + Unpin { ... }
async fn search_full_all<SE>(
&mut self,
location: &dyn SqliteLocation,
order_by: &dyn OrderBy,
) -> Result<Vec<SE>>
where SE: SqliteSelected + Send + Unpin { ... }
async fn search_full_paged<SE>(
&mut self,
location: &dyn SqliteLocation,
order_by: &dyn OrderBy,
page: &Pagination,
) -> Result<PagedList<Sqlite, SE>>
where SE: SqliteSelected + Send + Unpin { ... }
}Provided Methods§
async fn select<SE, M>( &mut self, selection: &SE, unique: &dyn SqliteUnique<Mutation = M>, ) -> Result<Option<SE>>
async fn search<SE>( &mut self, selection: &SE, location: &dyn SqliteLocation, order_by: &dyn OrderBy, page: &Pagination, ) -> Result<Vec<SE>>
async fn search_all<SE>( &mut self, selection: &SE, location: &dyn SqliteLocation, order_by: &dyn OrderBy, ) -> Result<Vec<SE>>
async fn search_paged<SE>( &mut self, selection: &SE, location: &dyn SqliteLocation, order_by: &dyn OrderBy, page: &Pagination, ) -> Result<PagedList<Sqlite, SE>>
async fn exists<M: SqliteMutation>( &mut self, unique: &dyn SqliteUnique<Mutation = M>, ) -> Result<bool>
async fn count(&mut self, location: &dyn SqliteLocation) -> Result<u64>
async fn select_full<SE, M>( &mut self, unique: &dyn SqliteUnique<Mutation = M>, ) -> Result<Option<SE>>
async fn search_full<SE>( &mut self, location: &dyn SqliteLocation, order_by: &dyn OrderBy, page: &Pagination, ) -> Result<Vec<SE>>
async fn search_full_all<SE>( &mut self, location: &dyn SqliteLocation, order_by: &dyn OrderBy, ) -> Result<Vec<SE>>
async fn search_full_paged<SE>( &mut self, location: &dyn SqliteLocation, order_by: &dyn OrderBy, page: &Pagination, ) -> Result<PagedList<Sqlite, SE>>
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.