pub trait Layer: Send {
    fn name(&self) -> &'static str;
fn view(&mut self, builder: &mut ViewBuilder);
fn remove(&mut self, id: &PublicKey);
fn reset(&mut self);
fn subscribe(&mut self, topic: Topic);
fn unsubscribe(&mut self, topic: &Topic);
fn subscriptions(&self, output: &mut PriorityMap<InterestLevel, Topic>);
fn populate(&mut self, our_profile: &Profile, new_profile: &Profile); }

Required methods

Implementors