Trait WatchAndReload
Source pub trait WatchAndReload {
type Error;
// Required methods
fn watch_and_reload<'a, 'life0, 'async_trait>(
&'life0 self,
tx: Option<Sender<Result<(), Self::Error>>>,
runner: Arc<dyn CommandRunner + Send + Sync + 'a>,
cancel_token: CancellationToken,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where 'a: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait;
fn is_relevant_change<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 Path,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}