pub struct InstallHandler<'a> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Handler for InstallHandler<'_>
impl Handler for InstallHandler<'_>
Source§fn phase(&self) -> ExecutionPhase
fn phase(&self) -> ExecutionPhase
Execution phase for this handler. Read more
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 category(&self) -> HandlerCategory
fn category(&self) -> HandlerCategory
Whether this is a configuration or code-execution handler. Read more
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<'a> Freeze for InstallHandler<'a>
impl<'a> !RefUnwindSafe for InstallHandler<'a>
impl<'a> Send for InstallHandler<'a>
impl<'a> Sync for InstallHandler<'a>
impl<'a> Unpin for InstallHandler<'a>
impl<'a> UnsafeUnpin for InstallHandler<'a>
impl<'a> !UnwindSafe for InstallHandler<'a>
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