pub struct AckTicket { /* private fields */ }Expand description
Durability handle associated with the write operation
§Epoch
Every ticket is assigned a monotonically increasing epoch to moniter durability
§Durability Guarantee
If wanted, the ticket could be awaited to poll till the epoch becomes durable.
Once a await on ticket is completed successfully, all writes assigned to earlier epochs are also guaranteed to be durable.
NOTE: Using await is optional. Callers that only require fire-and-forget semantics may
simply discard the returned ticket.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AckTicket
impl RefUnwindSafe for AckTicket
impl Send for AckTicket
impl Sync for AckTicket
impl Unpin for AckTicket
impl UnsafeUnpin for AckTicket
impl UnwindSafe for AckTicket
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
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more