pub struct Change {
pub event: ChangeEvent,
pub ack: Ack,
}Expand description
One item emitted by a ChangeCapture stream: a
change paired with the Ack that confirms it was durably processed.
Dropping the ack without calling Ack::confirm leaves the change
unconfirmed — the mechanism will redeliver it after a restart. That is what
makes delivery at-least-once: an event is only forgotten once the engine
says it landed downstream.
Fields§
§event: ChangeEvent§ack: AckTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Change
impl !UnwindSafe for Change
impl Freeze for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
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