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