pub trait Process: Send + Sync {
// Required methods
fn identifier(&self) -> &str;
fn title(&self) -> &str;
fn inputs(&self) -> Vec<InputDescription>;
fn outputs(&self) -> Vec<OutputDescription>;
fn execute<'life0, 'async_trait>(
&'life0 self,
inputs: ProcessInputs,
) -> Pin<Box<dyn Future<Output = ServiceResult<ProcessOutputs>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided method
fn abstract_text(&self) -> Option<&str> { ... }
}Expand description
Process trait
Required Methods§
Sourcefn identifier(&self) -> &str
fn identifier(&self) -> &str
Get process identifier
Sourcefn inputs(&self) -> Vec<InputDescription>
fn inputs(&self) -> Vec<InputDescription>
Get input descriptions
Sourcefn outputs(&self) -> Vec<OutputDescription>
fn outputs(&self) -> Vec<OutputDescription>
Get output descriptions
Sourcefn execute<'life0, 'async_trait>(
&'life0 self,
inputs: ProcessInputs,
) -> Pin<Box<dyn Future<Output = ServiceResult<ProcessOutputs>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
&'life0 self,
inputs: ProcessInputs,
) -> Pin<Box<dyn Future<Output = ServiceResult<ProcessOutputs>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute process
Provided Methods§
Sourcefn abstract_text(&self) -> Option<&str>
fn abstract_text(&self) -> Option<&str>
Get process abstract