pub struct BucketWatch { /* private fields */ }Expand description
A revision-resuming snapshot and live watch. Cancellation of next() is safe.
Implementations§
Source§impl BucketWatch
impl BucketWatch
Sourcepub async fn next(&mut self) -> Result<BucketItem>
pub async fn next(&mut self) -> Result<BucketItem>
Returns one change or the initial snapshot boundary, never acknowledging writes.
Auto Trait Implementations§
impl !RefUnwindSafe for BucketWatch
impl !Sync for BucketWatch
impl !UnwindSafe for BucketWatch
impl Forget for BucketWatch
impl Freeze for BucketWatch
impl Move for BucketWatch
impl Send for BucketWatch
impl Unpin for BucketWatch
impl UnsafeUnpin for BucketWatch
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