encoder.rs
SHA-256a8f8d2f2c8392760641b0f87fd19d29855d21bbd3b55772d5c61abb8b4fd371f
Malecule∅
Evidence
1use rustc_serialize as serialize;
2
3use {ByteString, CsvResult, Error, IntoVector, StrAllocating};
4
5/// A record to be encoded.
6///
7/// This is a "wrapper" type that allows the `Encoder` machinery from the
8/// `serialize` crate to encode a *single* CSV record from your cu …
36:26… t.to_string())
37 }
38}
39
40impl serialize::Encoder for Encoded {
41 type Error = Error;
42
43 fn emit_nil(&mut self) -> CsvResult<()> { unimplemented! …
86:45… enum variants \
87 with more than one argument.".to_string())),
88 }
89 }
90 fn emit_enum_variant_arg<F>(&mut se …