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,
_fs: &dyn Fs,
) -> Result<Vec<HandlerIntent>>
fn to_intents( &self, matches: &[RuleMatch], _config: &HandlerConfig, _paths: &dyn Pather, _fs: &dyn Fs, ) -> 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.
Source§fn match_mode(&self) -> MatchMode
fn match_mode(&self) -> MatchMode
How this handler decides what to claim. Read more
Source§fn scope(&self) -> HandlerScope
fn scope(&self) -> HandlerScope
Whether a match removes the entry from further consideration. Read more
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