Home
last modified time | relevance | path

Searched defs:ByteRecord (Results 1 – 6 of 6) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/csv/src/
Dbyte_record.rs36 pub struct ByteRecord(Box<ByteRecordInner>); struct
38 impl PartialEq for ByteRecord { implementation
47 impl<T: AsRef<[u8]>> PartialEq<Vec<T>> for ByteRecord { implementation
53 impl<'a, T: AsRef<[u8]>> PartialEq<Vec<T>> for &'a ByteRecord { implementation
59 impl<T: AsRef<[u8]>> PartialEq<[T]> for ByteRecord { implementation
65 impl<'a, T: AsRef<[u8]>> PartialEq<[T]> for &'a ByteRecord { implementation
71 impl fmt::Debug for ByteRecord { implementation
98 impl Default for ByteRecord { implementation
105 impl ByteRecord { impl
139 pub fn with_capacity(buffer: usize, fields: usize) -> ByteRecord { in with_capacity()
[all …]
Dreader.rs1392 pub fn byte_headers(&mut self) -> Result<&ByteRecord> { in byte_headers()
1459 pub fn set_byte_headers(&mut self, headers: ByteRecord) { in set_byte_headers()
1465 headers: result::Result<StringRecord, ByteRecord>, in set_headers_impl() argument
1580 record: &mut ByteRecord, in read_byte_record()
1620 record: &mut ByteRecord, in read_byte_record_impl()
2117 fn next(&mut self) -> Option<Result<ByteRecord>> { in next()
2154 fn next(&mut self) -> Option<Result<ByteRecord>> { in next()
Dstring_record.rs157 record: ByteRecord, in from_byte_record()
577 pub fn as_byte_record(&self) -> &ByteRecord { in as_byte_record()
609 pub fn into_byte_record(self) -> ByteRecord { in into_byte_record()
Derror.rs217 pub(crate) fn new(record: ByteRecord, err: Utf8Error) -> FromUtf8Error { in new()
222 pub fn into_byte_record(self) -> ByteRecord { in into_byte_record()
Ddeserializer.rs39 record: &'de ByteRecord, in deserialize_byte_record()
40 headers: Option<&'de ByteRecord>, in deserialize_byte_record()
/aosp_15_r20/external/rust/android-crates-io/crates/csv/benches/
Dbench.rs523 fn collect_records(data: &[u8]) -> Vec<ByteRecord> { in collect_records()