attempt at documenting table crate

This commit is contained in:
Trinity Pointard
2021-03-26 19:41:46 +01:00
committed by Alex Auvolat
parent f871689571
commit b437610812
16 changed files with 65 additions and 32 deletions
+4
View File
@@ -113,6 +113,10 @@ impl TableSchema for KeyTable {
type E = Key;
type Filter = KeyFilter;
fn updated(&self, _old: Option<Self::E>, _new: Option<Self::E>) {
// nothing to do when updated
}
fn matches_filter(entry: &Self::E, filter: &Self::Filter) -> bool {
match filter {
KeyFilter::Deleted(df) => df.apply(entry.deleted.get()),