pub struct WatchManager { /* private fields */ }
Expand description
Manages file system watching and automatic synchronization
Implementations§
Source§impl WatchManager
impl WatchManager
Sourcepub fn new(
repo_path: impl AsRef<Path>,
sync_config: SyncConfig,
watch_config: WatchConfig,
) -> Self
pub fn new( repo_path: impl AsRef<Path>, sync_config: SyncConfig, watch_config: WatchConfig, ) -> Self
Create a new watch manager
Auto Trait Implementations§
impl Freeze for WatchManager
impl !RefUnwindSafe for WatchManager
impl Send for WatchManager
impl Sync for WatchManager
impl Unpin for WatchManager
impl !UnwindSafe for WatchManager
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