pub struct InstallTicket { /* private fields */ }Expand description
Exact selected-log publication action. Not evidence of successful I/O.
Persist the selected log with promised_view = last_normal_view = scope.view,
preserving protected_committed and installing committed. Only then report
completion, with canonical application state rebuilt through committed.
Local history through retained lies in the selected lineage and is kept;
only what follows is staged. A streamed backup stage proves that lineage.
Implementations§
Source§impl InstallTicket
impl InstallTicket
Sourcepub const fn previous_generation(self) -> JournalGeneration
pub const fn previous_generation(self) -> JournalGeneration
Replaced writer incarnation. Old callbacks lose authority on installation.
Sourcepub const fn generation(self) -> JournalGeneration
pub const fn generation(self) -> JournalGeneration
Fresh local writer incarnation for the selected generation.
Sourcepub const fn source(self) -> LogSource
pub const fn source(self) -> LogSource
Frozen source from which canonical installation bytes are obtained.
Sourcepub const fn protected_committed(self) -> Prefix
pub const fn protected_committed(self) -> Prefix
Highest old local commit; replacement must never overwrite it.
Trait Implementations§
Source§impl Clone for InstallTicket
impl Clone for InstallTicket
impl Copy for InstallTicket
Source§impl Debug for InstallTicket
impl Debug for InstallTicket
impl Eq for InstallTicket
Source§impl PartialEq for InstallTicket
impl PartialEq for InstallTicket
impl StructuralPartialEq for InstallTicket
Auto Trait Implementations§
impl Freeze for InstallTicket
impl RefUnwindSafe for InstallTicket
impl Send for InstallTicket
impl Sync for InstallTicket
impl Unpin for InstallTicket
impl UnsafeUnpin for InstallTicket
impl UnwindSafe for InstallTicket
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