Skip to content

Commit

Permalink
Update README.md - remove T: Debug from store traits
Browse files Browse the repository at this point in the history
  • Loading branch information
panarch authored Aug 21, 2022
1 parent 5a70eb0 commit a3b84cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ features = ["alter-table", "index", "transaction", "metadata"]
- [`Store & StoreMut`](https://github.com/gluesql/gluesql/blob/main/core/src/store/mod.rs)

```rust
pub trait Store<T: Debug> {
pub trait Store {
async fn fetch_schema(..) -> ..;
async fn fetch_data(..) -> ..;
async fn scan_data(..) -> ..;
}

pub trait StoreMut<T: Debug> where Self: Sized {
pub trait StoreMut where Self: Sized {
async fn insert_schema(..) -> ..;
async fn delete_schema(..) -> ..;
async fn append_data(..) -> ..;
Expand All @@ -113,11 +113,11 @@ pub trait AlterTable where Self: Sized {
async fn drop_column(..) -> ..;
}

pub trait Index<T: Debug> {
pub trait Index {
async fn scan_indexed_data(..) -> ..;
}

pub trait IndexMut<T: Debug> where Self: Sized {
pub trait IndexMut where Self: Sized {
async fn create_index(..) -> ..;
async fn drop_index(..) -> ..;
}
Expand Down

0 comments on commit a3b84cd

Please sign in to comment.