Clearable

This commit is contained in:
Dominik Werder
2021-09-29 10:18:51 +02:00
parent 10e0fd887d
commit cd500620aa
16 changed files with 474 additions and 355 deletions

View File

@@ -307,6 +307,10 @@ pub trait Appendable: WithLen {
fn append(&mut self, src: &Self);
}
pub trait Clearable {
fn clear(&mut self);
}
pub trait EventAppendable {
type Value;
fn append_event(&mut self, ts: u64, value: Self::Value);