struct ChannelPartitionStream {
schema: SchemaRef,
receiver: Arc<Mutex<Option<InputReceiver>>>,
}Expand description
A channel-backed partition is single-execution because receiving consumes its input. Plans that scan it more than once return an execution error.
Fields§
§schema: SchemaRef§receiver: Arc<Mutex<Option<InputReceiver>>>Implementations§
Source§impl ChannelPartitionStream
impl ChannelPartitionStream
fn new(schema: SchemaRef, receiver: InputReceiver) -> Self
Trait Implementations§
Source§impl Debug for ChannelPartitionStream
impl Debug for ChannelPartitionStream
Auto Trait Implementations§
impl Freeze for ChannelPartitionStream
impl RefUnwindSafe for ChannelPartitionStream
impl Send for ChannelPartitionStream
impl Sync for ChannelPartitionStream
impl Unpin for ChannelPartitionStream
impl UnsafeUnpin for ChannelPartitionStream
impl UnwindSafe for ChannelPartitionStream
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> 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