pub enum Durability {
Buffered,
Durable,
Sequenced,
}Expand description
The durability point a LogEngine::produce call resolves at.
Variants§
Buffered
Resolve as soon as the batch is buffered (fire-and-forget; may be lost on crash before the flush). No offset is returned.
Durable
Resolve once the containing object is durably PUT (survives crash). No offset yet — the commit has not run.
Sequenced
Resolve once the batch is durably PUT and sequenced (has a stable offset). This is the strong, no-loss level.
Trait Implementations§
Source§impl Clone for Durability
impl Clone for Durability
impl Copy for Durability
Source§impl Debug for Durability
impl Debug for Durability
impl Eq for Durability
Source§impl PartialEq for Durability
impl PartialEq for Durability
impl StructuralPartialEq for Durability
Auto Trait Implementations§
impl Forget for Durability
impl Freeze for Durability
impl RefUnwindSafe for Durability
impl Send for Durability
impl Sync for Durability
impl Unpin for Durability
impl UnsafeUnpin for Durability
impl UnwindSafe for Durability
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