#[non_exhaustive]pub enum BucketItem {
Put {
key: String,
revision: u64,
value: Bytes,
},
Delete {
key: String,
revision: u64,
},
CaughtUp,
}Expand description
A snapshot/live change, or the boundary after the initial snapshot.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for BucketItem
impl Clone for BucketItem
Source§impl Debug for BucketItem
impl Debug for BucketItem
impl Eq for BucketItem
Source§impl PartialEq for BucketItem
impl PartialEq for BucketItem
impl StructuralPartialEq for BucketItem
Auto Trait Implementations§
impl !Freeze for BucketItem
impl Forget for BucketItem
impl Move for BucketItem
impl RefUnwindSafe for BucketItem
impl Send for BucketItem
impl Sync for BucketItem
impl Unpin for BucketItem
impl UnsafeUnpin for BucketItem
impl UnwindSafe for BucketItem
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