pub trait Package { fn get_id(&self) -> Result<u32, Error>; fn get_name(&self) -> Result<String, Error>; }