pub struct ProcessFilter {
pub info: PluginInfo,
pub runtime_type: RuntimeType,
pub entry: PathBuf,
pub base_dir: PathBuf,
pub custom_command: Option<String>,
pub input_format: String,
pub result_format: String,
}Expand description
Runs a community filter plugin as an external process via stdin/stdout.
Fields§
§info: PluginInfo§runtime_type: RuntimeType§entry: PathBuf§base_dir: PathBuf§custom_command: Option<String>§input_format: String§result_format: StringTrait Implementations§
Source§impl FilterPlugin for ProcessFilter
impl FilterPlugin for ProcessFilter
Source§fn info(&self) -> PluginInfo
fn info(&self) -> PluginInfo
Plugin metadata.
Source§fn filter(&self, input: &FilterInput) -> Result<FilterOutput>
fn filter(&self, input: &FilterInput) -> Result<FilterOutput>
Apply filter to command output.
Auto Trait Implementations§
impl Freeze for ProcessFilter
impl RefUnwindSafe for ProcessFilter
impl Send for ProcessFilter
impl Sync for ProcessFilter
impl Unpin for ProcessFilter
impl UnsafeUnpin for ProcessFilter
impl UnwindSafe for ProcessFilter
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