Trait csv::BorrowBytes [] [src]

pub trait BorrowBytes {
    fn borrow_bytes<'a>(&'a self) -> &'a [u8];
}

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

Borrow a byte vector.

Implementors