pub struct Record<'a> { /* private fields */ }
Available on crate feature
io_ipc
only.Expand description
An array RecordBatchT
with optional accompanying IPC fields.
Implementations§
Trait Implementations§
source§impl<'a> PartialEq for Record<'a>
impl<'a> PartialEq for Record<'a>
source§impl<'a, W> Sink<Record<'_>> for FileSink<'a, W>
Available on crate feature io_ipc_write_async
only.
impl<'a, W> Sink<Record<'_>> for FileSink<'a, W>
Available on crate feature
io_ipc_write_async
only.§type Error = PolarsError
type Error = PolarsError
The type of value produced by the sink when an error occurs.
source§fn poll_ready(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<PolarsResult<()>>
fn poll_ready( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<PolarsResult<()>>
Attempts to prepare the
Sink
to receive a value. Read moresource§fn start_send(self: Pin<&mut Self>, item: Record<'_>) -> PolarsResult<()>
fn start_send(self: Pin<&mut Self>, item: Record<'_>) -> PolarsResult<()>
Begin the process of sending a value to the sink.
Each call to this function must be preceded by a successful call to
poll_ready
which returned Poll::Ready(Ok(()))
. Read moresource§fn poll_flush(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<PolarsResult<()>>
fn poll_flush( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<PolarsResult<()>>
Flush any remaining output from this sink. Read more
source§fn poll_close(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<PolarsResult<()>>
fn poll_close( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<PolarsResult<()>>
Flush any remaining output and close this sink, if necessary. Read more
source§impl<'a, W> Sink<Record<'_>> for StreamSink<'a, W>
Available on crate feature io_ipc_write_async
only.
impl<'a, W> Sink<Record<'_>> for StreamSink<'a, W>
Available on crate feature
io_ipc_write_async
only.§type Error = PolarsError
type Error = PolarsError
The type of value produced by the sink when an error occurs.
source§fn poll_ready(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<PolarsResult<()>>
fn poll_ready( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<PolarsResult<()>>
Attempts to prepare the
Sink
to receive a value. Read moresource§fn start_send(self: Pin<&mut Self>, item: Record<'_>) -> PolarsResult<()>
fn start_send(self: Pin<&mut Self>, item: Record<'_>) -> PolarsResult<()>
Begin the process of sending a value to the sink.
Each call to this function must be preceded by a successful call to
poll_ready
which returned Poll::Ready(Ok(()))
. Read moresource§fn poll_flush(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<PolarsResult<()>>
fn poll_flush( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<PolarsResult<()>>
Flush any remaining output from this sink. Read more
source§fn poll_close(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<PolarsResult<()>>
fn poll_close( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<PolarsResult<()>>
Flush any remaining output and close this sink, if necessary. Read more
impl<'a> StructuralPartialEq for Record<'a>
Auto Trait Implementations§
impl<'a> Freeze for Record<'a>
impl<'a> !RefUnwindSafe for Record<'a>
impl<'a> Send for Record<'a>
impl<'a> Sync for Record<'a>
impl<'a> Unpin for Record<'a>
impl<'a> !UnwindSafe for Record<'a>
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more