pub struct ClientEventDelivery {
pub delivery_id: Option<u64>,
pub event: ClientEvent,
}Expand description
One client event prepared for delivery to the single lossless consumer.
Lossless events have a durable positive delivery_id. Best-effort events
are carried through the same ordered batch with no durable identifier.
Fields§
§delivery_id: Option<u64>Store-local identifier used to acknowledge a durable lossless event.
event: ClientEventCommitted client event.
Implementations§
Source§impl ClientEventDelivery
impl ClientEventDelivery
Sourcepub fn ephemeral(event: ClientEvent) -> Self
pub fn ephemeral(event: ClientEvent) -> Self
Creates an event that does not require durable acknowledgement.
Trait Implementations§
Source§impl Clone for ClientEventDelivery
impl Clone for ClientEventDelivery
Source§fn clone(&self) -> ClientEventDelivery
fn clone(&self) -> ClientEventDelivery
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 moreSource§impl Debug for ClientEventDelivery
impl Debug for ClientEventDelivery
impl Eq for ClientEventDelivery
Source§impl PartialEq for ClientEventDelivery
impl PartialEq for ClientEventDelivery
impl StructuralPartialEq for ClientEventDelivery
Auto Trait Implementations§
impl Freeze for ClientEventDelivery
impl RefUnwindSafe for ClientEventDelivery
impl Send for ClientEventDelivery
impl Sync for ClientEventDelivery
impl Unpin for ClientEventDelivery
impl UnsafeUnpin for ClientEventDelivery
impl UnwindSafe for ClientEventDelivery
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