pub struct ThreadParseFactory;Expand description
Factory for creating the ThreadParseExecutor
Trait Implementations§
Source§impl SimpleFunctionFactoryBase for ThreadParseFactory
impl SimpleFunctionFactoryBase for ThreadParseFactory
type Spec = ThreadParseSpec
type ResolvedArgs = ()
fn name(&self) -> &str
fn analyze<'a, 'life0, 'life1, 'async_trait>(
&'a self,
_spec: &'a Self::Spec,
_args_resolver: &'life0 mut OpArgsResolver<'a>,
_context: &'life1 FlowInstanceContext,
) -> Pin<Box<dyn Future<Output = Result<SimpleFunctionAnalysisOutput<Self::ResolvedArgs>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn build_executor<'async_trait>(
self: Arc<Self>,
_spec: Self::Spec,
_resolved_args: Self::ResolvedArgs,
_context: Arc<FlowInstanceContext>,
) -> Pin<Box<dyn Future<Output = Result<impl SimpleFunctionExecutor, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
fn register(self, registry: &mut ExecutorFactoryRegistry) -> Result<(), Error>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for ThreadParseFactory
impl RefUnwindSafe for ThreadParseFactory
impl Send for ThreadParseFactory
impl Sync for ThreadParseFactory
impl Unpin for ThreadParseFactory
impl UnsafeUnpin for ThreadParseFactory
impl UnwindSafe for ThreadParseFactory
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