add typedef for pdu_ids

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-10-26 22:20:16 +00:00
parent 1e7207c230
commit f245389c02
3 changed files with 22 additions and 1 deletions

View file

@ -24,6 +24,10 @@ struct Services {
globals: Dep<globals::Service>,
}
pub type ShortEventId = ShortId;
pub type ShortRoomId = ShortId;
pub type ShortId = u64;
impl crate::Service for Service {
fn build(args: crate::Args<'_>) -> Result<Arc<Self>> {
Ok(Arc::new(Self {