pub struct ShellHandler;Trait Implementations§
Source§impl Handler for ShellHandler
impl Handler for ShellHandler
Source§fn category(&self) -> HandlerCategory
fn category(&self) -> HandlerCategory
Whether this is a configuration or code-execution handler.
Source§fn to_intents(
&self,
matches: &[RuleMatch],
_config: &HandlerConfig,
_paths: &dyn Pather,
) -> Result<Vec<HandlerIntent>>
fn to_intents( &self, matches: &[RuleMatch], _config: &HandlerConfig, _paths: &dyn Pather, ) -> Result<Vec<HandlerIntent>>
Transform matched files into intents. Read more
Source§fn check_status(
&self,
file: &Path,
pack: &str,
datastore: &dyn DataStore,
) -> Result<HandlerStatus>
fn check_status( &self, file: &Path, pack: &str, datastore: &dyn DataStore, ) -> Result<HandlerStatus>
Check whether a file has been deployed by this handler.
Auto Trait Implementations§
impl Freeze for ShellHandler
impl RefUnwindSafe for ShellHandler
impl Send for ShellHandler
impl Sync for ShellHandler
impl Unpin for ShellHandler
impl UnsafeUnpin for ShellHandler
impl UnwindSafe for ShellHandler
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