Lines Matching refs:ByteRecord
12 use crate::byte_record::ByteRecord;
935 pub fn write_byte_record(&mut self, record: &ByteRecord) -> Result<()> { in write_byte_record()
1191 use crate::byte_record::ByteRecord;
1220 wtr.write_record(&ByteRecord::from(vec!["a", "b", "c"])).unwrap(); in one_byte_record()
1228 wtr.write_byte_record(&ByteRecord::from(vec!["a", "b", "c"])).unwrap(); in raw_one_byte_record()
1244 wtr.write_byte_record(&ByteRecord::from(vec![""])).unwrap(); in raw_one_empty_record()
1261 wtr.write_byte_record(&ByteRecord::from(vec![""])).unwrap(); in raw_two_empty_records()
1262 wtr.write_byte_record(&ByteRecord::from(vec![""])).unwrap(); in raw_two_empty_records()
1270 wtr.write_record(&ByteRecord::from(vec!["a", "b", "c"])).unwrap(); in unequal_records_bad()
1271 let err = wtr.write_record(&ByteRecord::from(vec!["a"])).unwrap_err(); in unequal_records_bad()
1287 wtr.write_byte_record(&ByteRecord::from(vec!["a", "b", "c"])).unwrap(); in raw_unequal_records_bad()
1289 wtr.write_byte_record(&ByteRecord::from(vec!["a"])).unwrap_err(); in raw_unequal_records_bad()
1305 wtr.write_record(&ByteRecord::from(vec!["a", "b", "c"])).unwrap(); in unequal_records_ok()
1306 wtr.write_record(&ByteRecord::from(vec!["a"])).unwrap(); in unequal_records_ok()
1313 wtr.write_byte_record(&ByteRecord::from(vec!["a", "b", "c"])).unwrap(); in raw_unequal_records_ok()
1314 wtr.write_byte_record(&ByteRecord::from(vec!["a"])).unwrap(); in raw_unequal_records_ok()
1347 wtr.write_byte_record(&ByteRecord::from(vec!["a", "b"])).unwrap(); in full_buffer_should_not_flush_underlying()
1348 wtr.write_byte_record(&ByteRecord::from(vec!["c", "d"])).unwrap(); in full_buffer_should_not_flush_underlying()
1350 wtr.write_byte_record(&ByteRecord::from(vec!["e", "f"])).unwrap(); in full_buffer_should_not_flush_underlying()