pub struct ReloadWatcher;Implementations§
Source§impl ReloadWatcher
impl ReloadWatcher
pub async fn watch_and_reload<F>( watch_dirs: Vec<PathBuf>, controller: RuntimeExecutionHandle, discover_fn: F, shutdown: Option<CancellationToken>, ) -> Result<(), CamelError>
pub fn resolve_watch_dirs(patterns: &[String]) -> Vec<PathBuf>
Auto Trait Implementations§
impl Freeze for ReloadWatcher
impl RefUnwindSafe for ReloadWatcher
impl Send for ReloadWatcher
impl Sync for ReloadWatcher
impl Unpin for ReloadWatcher
impl UnsafeUnpin for ReloadWatcher
impl UnwindSafe for ReloadWatcher
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