pub struct ArrowArrayStreamReader { /* private fields */ }
Expand description

Implements an iterator of Array consumed from the C stream interface.

Implementations

Returns a new ArrowArrayStreamReader

Error

Errors iff the ArrowArrayStream is out of specification

Safety

This method is intrinsically unsafe since it assumes that the ArrowArrayStream contains a valid Arrow C stream interface. In particular:

  • The ArrowArrayStream fulfills the invariants of the C stream interface
  • The schema get_schema produces fulfills the C data interface

Returns the field provided by the stream

Advances this iterator by one array

Error

Errors iff:

  • The C stream interface returns an error
  • The C stream interface returns an invalid array (that we can identify, see Safety below)
Safety

Calling this iterator’s next assumes that the ArrowArrayStream produces arrow arrays that fulfill the C data interface

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.