pub struct WatcherHandle { /* private fields */ }Implementations§
Source§impl WatcherHandle
impl WatcherHandle
pub fn diagnostics(&self) -> WatcherDiagnostics
pub async fn updated_diagnostics(&self) -> WatcherDiagnostics
pub fn request_shutdown(&self)
pub async fn add_repository(&self, repo: WatchedRepository) -> bool
pub async fn remove_repository(&self, alias: &str) -> bool
pub async fn repository_count(&self) -> usize
Trait Implementations§
Source§impl Clone for WatcherHandle
impl Clone for WatcherHandle
Source§fn clone(&self) -> WatcherHandle
fn clone(&self) -> WatcherHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for WatcherHandle
impl !UnwindSafe for WatcherHandle
impl Freeze for WatcherHandle
impl Send for WatcherHandle
impl Sync for WatcherHandle
impl Unpin for WatcherHandle
impl UnsafeUnpin for WatcherHandle
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