pub struct RepositoryWatcher {
pub request_tx: Sender<RepositoryRequest>,
pub snapshot_rx: Receiver<Result<Arc<RepositorySnapshot>, Arc<GitError>>>,
/* private fields */
}Fields§
§request_tx: Sender<RepositoryRequest>§snapshot_rx: Receiver<Result<Arc<RepositorySnapshot>, Arc<GitError>>>Implementations§
Source§impl RepositoryWatcher
impl RepositoryWatcher
pub async fn spawn( repository: GitRepository, scope: DiffScope, options: WatchOptions, ) -> Result<Self, WatchError>
Trait Implementations§
Source§impl Debug for RepositoryWatcher
impl Debug for RepositoryWatcher
Source§impl Drop for RepositoryWatcher
impl Drop for RepositoryWatcher
Auto Trait Implementations§
impl Freeze for RepositoryWatcher
impl RefUnwindSafe for RepositoryWatcher
impl Send for RepositoryWatcher
impl Sync for RepositoryWatcher
impl Unpin for RepositoryWatcher
impl UnsafeUnpin for RepositoryWatcher
impl UnwindSafe for RepositoryWatcher
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