pub struct ShellCommand;Expand description
Shell command processor — runs external CLI tools.
Implementations§
Source§impl ShellCommand
impl ShellCommand
Trait Implementations§
Source§impl Default for ShellCommand
impl Default for ShellCommand
Source§impl NodeProcessor for ShellCommand
impl NodeProcessor for ShellCommand
Source§fn name(&self) -> &str
fn name(&self) -> &str
The processor’s type key (e.g., “image-compress”).
Must match the key used in
registry.register().
Convention: category-operation, kebab-case.Source§fn validate(&self, params: &Map<String, Value>) -> Vec<String>
fn validate(&self, params: &Map<String, Value>) -> Vec<String>
Validate the input parameters before processing. Read more
Source§fn process(
&self,
input: NodeInput,
progress: &ProgressReporter,
ctx: &dyn ProcessContext,
) -> Result<NodeOutput, BntoError>
fn process( &self, input: NodeInput, progress: &ProgressReporter, ctx: &dyn ProcessContext, ) -> Result<NodeOutput, BntoError>
Process a single input file and produce output. Read more
Source§fn metadata(&self) -> NodeMetadata
fn metadata(&self) -> NodeMetadata
Return the processor’s self-describing metadata. Read more
Source§fn process_batch(
&self,
input: BatchInput,
progress: &ProgressReporter,
ctx: &dyn ProcessContext,
) -> Result<NodeOutput, BntoError>
fn process_batch( &self, input: BatchInput, progress: &ProgressReporter, ctx: &dyn ProcessContext, ) -> Result<NodeOutput, BntoError>
Process a batch of files together, producing combined output. Read more
Auto Trait Implementations§
impl Freeze for ShellCommand
impl RefUnwindSafe for ShellCommand
impl Send for ShellCommand
impl Sync for ShellCommand
impl Unpin for ShellCommand
impl UnsafeUnpin for ShellCommand
impl UnwindSafe for ShellCommand
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