usebit_vec::BitVec;typeDecodedData= BitVec;/// To decode an array of symbols into bit string
pubtraitDecoder{typeSymbol;typeErr;/// Attempt to decode the data. If no errors, return a bit string
fndecode(&self, encoded_data:Vec<Self::Symbol>)->Result<DecodedData, Self::Err>;/// How many bits one symbol encodes
fnnum_bits_per_symbol(&self)->usize;}