[−][src]Trait csv::BorrowBytes
A trait that permits borrowing byte vectors.
This is useful for providing an API that can abstract over Unicode strings and byte strings.
Required methods
fn borrow_bytes<'a>(&'a self) -> &'a [u8]
Borrow a byte vector.
Implementations on Foreign Types
impl BorrowBytes for String
[src]
fn borrow_bytes(&self) -> &[u8]
[src]
impl BorrowBytes for str
[src]
fn borrow_bytes(&self) -> &[u8]
[src]
impl BorrowBytes for [u8]
[src]
fn borrow_bytes(&self) -> &[u8]
[src]
impl<'a, B: ?Sized> BorrowBytes for Cow<'a, B> where
B: BorrowBytes + ToOwned,
<B as ToOwned>::Owned: BorrowBytes,
[src]
B: BorrowBytes + ToOwned,
<B as ToOwned>::Owned: BorrowBytes,