#[repr(C)]pub struct ArrowArrayStream {
pub get_schema: Option<unsafe extern "C" fn(stream: *mut ArrowArrayStream, out: *mut ArrowSchema) -> i32>,
pub get_next: Option<unsafe extern "C" fn(stream: *mut ArrowArrayStream, out: *mut ArrowArray) -> i32>,
pub get_last_error: Option<unsafe extern "C" fn(stream: *mut ArrowArrayStream) -> *const c_char>,
pub release: Option<unsafe extern "C" fn(stream: *mut ArrowArrayStream)>,
pub private_data: *mut c_void,
}Expand description
Arrow C Stream Interface object.
Fields§
§get_schema: Option<unsafe extern "C" fn(stream: *mut ArrowArrayStream, out: *mut ArrowSchema) -> i32>Fills out with the stream schema.
get_next: Option<unsafe extern "C" fn(stream: *mut ArrowArrayStream, out: *mut ArrowArray) -> i32>Fills out with the next array (release=null when exhausted).
get_last_error: Option<unsafe extern "C" fn(stream: *mut ArrowArrayStream) -> *const c_char>Optional last-error message.
release: Option<unsafe extern "C" fn(stream: *mut ArrowArrayStream)>Release callback.
private_data: *mut c_voidImplementation private data.
Auto Trait Implementations§
impl Freeze for ArrowArrayStream
impl RefUnwindSafe for ArrowArrayStream
impl !Send for ArrowArrayStream
impl !Sync for ArrowArrayStream
impl Unpin for ArrowArrayStream
impl UnsafeUnpin for ArrowArrayStream
impl UnwindSafe for ArrowArrayStream
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