pub struct DefaultStreamOperator<T>where
T: ?Sized + NamedFunction,{ /* private fields */ }
Implementations§
Source§impl<T> DefaultStreamOperator<T>where
T: ?Sized + NamedFunction,
impl<T> DefaultStreamOperator<T>where
T: ?Sized + NamedFunction,
pub fn new( parallelism: u16, fn_creator: FunctionCreator, operator_fn: Box<T>, ) -> Self
Trait Implementations§
Source§impl<T> Debug for DefaultStreamOperator<T>where
T: ?Sized + NamedFunction,
impl<T> Debug for DefaultStreamOperator<T>where
T: ?Sized + NamedFunction,
Source§impl<T> TStreamOperator for DefaultStreamOperator<T>where
T: ?Sized + NamedFunction,
impl<T> TStreamOperator for DefaultStreamOperator<T>where
T: ?Sized + NamedFunction,
fn operator_name(&self) -> &str
fn parallelism(&self) -> u16
fn schema(&self, _input_schema: FnSchema) -> FnSchema
fn fn_creator(&self) -> FunctionCreator
Auto Trait Implementations§
impl<T> Freeze for DefaultStreamOperator<T>where
T: ?Sized,
impl<T> RefUnwindSafe for DefaultStreamOperator<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for DefaultStreamOperator<T>
impl<T> Sync for DefaultStreamOperator<T>
impl<T> Unpin for DefaultStreamOperator<T>where
T: ?Sized,
impl<T> UnwindSafe for DefaultStreamOperator<T>where
T: UnwindSafe + ?Sized,
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> 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 more