pub trait PingClientStateEvent: Send + Sync { fn online(&self, sn: &Device); fn offline(&self, sn: &Device); }