pub struct Records { /* private fields */ }
Implementations§
source§impl Records
impl Records
pub fn new(bs: Bytes) -> Self
pub fn as_slice(&self) -> &[u8] ⓘ
pub fn from_batches(batches: Vec<RecordBatch>) -> Self
pub fn take_batches(&mut self) -> Result<Vec<RecordBatch>>
pub fn into_batches(self) -> Result<Vec<RecordBatch>>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Records
impl Send for Records
impl Sync for Records
impl Unpin for Records
impl UnwindSafe for Records
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more