1use crate::table::change; 2 3pub trait Interest { 4 type Id: change::Id; 5 type Data: Copy; 6 7 fn id(&self) -> Self::Id; 8 fn arm(self, flags: u16, data: Self::Data); 9 fn delete(self); 10 fn discard(self); 11}