pub fn load_dispatch_attempts_from_db( conn: &Connection, document_id: &str, ) -> Result<Vec<DispatchAttemptStatus>>