pub struct RepositoryHandle { /* private fields */ }Implementations§
Source§impl RepositoryHandle
impl RepositoryHandle
pub async fn subscribe( &self, scope: DiffScope, ) -> Result<Receiver<RepositoryState>, RepositoryHandleError>
pub async fn refresh( &self, scope: DiffScope, ) -> Result<(), RepositoryHandleError>
Trait Implementations§
Source§impl Clone for RepositoryHandle
impl Clone for RepositoryHandle
Source§fn clone(&self) -> RepositoryHandle
fn clone(&self) -> RepositoryHandle
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 Freeze for RepositoryHandle
impl RefUnwindSafe for RepositoryHandle
impl Send for RepositoryHandle
impl Sync for RepositoryHandle
impl Unpin for RepositoryHandle
impl UnsafeUnpin for RepositoryHandle
impl UnwindSafe for RepositoryHandle
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