pub struct PathHandler;Trait Implementations§
Source§impl Handler for PathHandler
impl Handler for PathHandler
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 PathHandler
impl RefUnwindSafe for PathHandler
impl Send for PathHandler
impl Sync for PathHandler
impl Unpin for PathHandler
impl UnsafeUnpin for PathHandler
impl UnwindSafe for PathHandler
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