Trait Bucketable

Source
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

Required Methods§

Source

fn get_id(&self) -> Id

Source

fn get_first_seen(&self) -> Instant

Implementors§