pub enum ProducerHead {
None,
BroadcastExec {
output_partitions: usize,
},
RepartitionExec {
partitioning: MaybeEncoded<Partitioning>,
},
}Expand description
Defines what shape should the head node of a stage have upon getting executed. Depending on the NetworkBoundary implementation, the stage below should have different head nodes.
Variants§
None
No specific head node is necessary.
BroadcastExec
The head node should be a BroadcastExec.
RepartitionExec
The head node should be a RepartitionExec.
Fields
§
partitioning: MaybeEncoded<Partitioning>Trait Implementations§
Source§impl Clone for ProducerHead
impl Clone for ProducerHead
Source§fn clone(&self) -> ProducerHead
fn clone(&self) -> ProducerHead
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ProducerHead
impl !UnwindSafe for ProducerHead
impl Freeze for ProducerHead
impl Send for ProducerHead
impl Sync for ProducerHead
impl Unpin for ProducerHead
impl UnsafeUnpin for ProducerHead
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request