pub trait Bucketable {
// Required methods
fn get_id(&self) -> Id;
fn get_first_seen(&self) -> Instant;
}
Expand description
Anything that implements this trait can be stored in Buckets
pub trait Bucketable {
// Required methods
fn get_id(&self) -> Id;
fn get_first_seen(&self) -> Instant;
}
Anything that implements this trait can be stored in Buckets