Trait NamedService
potatonet::node
pub trait NamedService: Service { fn name(&self) -> &'static str; }
命名服务
fn name(&self) -> &'static str