pub fn from_slice_default(b: &[u8]) -> Result<CustomQuery, Event>