pub struct PromiseTicket { /* private fields */ }Expand description
Storage action that persists a view promise without installing a normal view.
Fields are private so completions can identify only actions this core issued.
The adapter atomically persists this exact log and promised view, retaining
the prior last-normal-view. Submission or an ordinary file flush is not a
successful completion. Storage failure must call ViewChange::fail_promise.
Implementations§
Source§impl PromiseTicket
impl PromiseTicket
Sourcepub const fn generation(self) -> JournalGeneration
pub const fn generation(self) -> JournalGeneration
Unique writer incarnation whose frozen history the promise covers.
Trait Implementations§
Source§impl Clone for PromiseTicket
impl Clone for PromiseTicket
impl Copy for PromiseTicket
Source§impl Debug for PromiseTicket
impl Debug for PromiseTicket
impl Eq for PromiseTicket
Source§impl PartialEq for PromiseTicket
impl PartialEq for PromiseTicket
impl StructuralPartialEq for PromiseTicket
Auto Trait Implementations§
impl Freeze for PromiseTicket
impl RefUnwindSafe for PromiseTicket
impl Send for PromiseTicket
impl Sync for PromiseTicket
impl Unpin for PromiseTicket
impl UnsafeUnpin for PromiseTicket
impl UnwindSafe for PromiseTicket
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