pub struct Arro3RecordBatchReader(/* private fields */);
Expand description
A wrapper around a PyRecordBatchReader that implements IntoPyObject to convert to a
runtime-available arro3.core.RecordBatchReader
.
This ensures that we return data with the user’s runtime-provided (dynamically-linked)
arro3.core.RecordBatchReader
and not the one statically linked from Rust.
Trait Implementations§
Source§impl From<Box<dyn RecordBatchReader<Item = Result<RecordBatch, ArrowError>> + Send>> for Arro3RecordBatchReader
impl From<Box<dyn RecordBatchReader<Item = Result<RecordBatch, ArrowError>> + Send>> for Arro3RecordBatchReader
Source§impl From<PyRecordBatchReader> for Arro3RecordBatchReader
impl From<PyRecordBatchReader> for Arro3RecordBatchReader
Source§fn from(value: PyRecordBatchReader) -> Self
fn from(value: PyRecordBatchReader) -> Self
Converts to this type from the input type.
Source§impl<'py> IntoPyObject<'py> for Arro3RecordBatchReader
impl<'py> IntoPyObject<'py> for Arro3RecordBatchReader
Auto Trait Implementations§
impl !Freeze for Arro3RecordBatchReader
impl RefUnwindSafe for Arro3RecordBatchReader
impl Send for Arro3RecordBatchReader
impl Sync for Arro3RecordBatchReader
impl Unpin for Arro3RecordBatchReader
impl UnwindSafe for Arro3RecordBatchReader
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
Source§impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
Source§fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
Converts
self
into an owned Python object, dropping type information.