pub struct Processor { /* private fields */ }Expand description
Main processor struct for CLI usage: implements Preprocessor.
Implementations§
Source§impl Processor
impl Processor
Sourcepub fn process_sync(
&self,
input: ProcessInput,
) -> Result<ExternalSourceInput, ProcessError>
pub fn process_sync( &self, input: ProcessInput, ) -> Result<ExternalSourceInput, ProcessError>
Synchronous process logic for unit tests and internal use.
Trait Implementations§
Source§impl Preprocessor for Processor
impl Preprocessor for Processor
Source§fn process<'life0, 'async_trait>(
&'life0 self,
input: ProcessInput,
) -> Pin<Box<dyn Future<Output = Result<ExternalSourceInput, ProcessError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn process<'life0, 'async_trait>(
&'life0 self,
input: ProcessInput,
) -> Pin<Box<dyn Future<Output = Result<ExternalSourceInput, ProcessError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Process an input source and return a processed external source with items, or error.
Auto Trait Implementations§
impl Freeze for Processor
impl RefUnwindSafe for Processor
impl Send for Processor
impl Sync for Processor
impl Unpin for Processor
impl UnsafeUnpin for Processor
impl UnwindSafe for Processor
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