pub struct ServerIncarnationFsyncIntent { /* private fields */ }Expand description
Checked startup write which must be fsynced before participant mode starts.
Implementations§
Source§impl ServerIncarnationFsyncIntent
impl ServerIncarnationFsyncIntent
Sourcepub const fn prior_server_incarnation(&self) -> u64
pub const fn prior_server_incarnation(&self) -> u64
Returns the durable counter value from before this startup.
Sourcepub const fn server_incarnation(&self) -> u64
pub const fn server_incarnation(&self) -> u64
Returns the checked server incarnation to persist and fsync.
Sourcepub const fn header_to_fsync(&self) -> ConnectionIncarnationAllocatorRestore
pub const fn header_to_fsync(&self) -> ConnectionIncarnationAllocatorRestore
Returns the exact fresh-ordinal header to persist and fsync.
Sourcepub const fn complete_after_fsync(self) -> ConnectionIncarnationAllocator
pub const fn complete_after_fsync(self) -> ConnectionIncarnationAllocator
Releases the current allocator after the server has persisted and fsynced
Self::header_to_fsync in its startup transaction.
Trait Implementations§
Source§impl Debug for ServerIncarnationFsyncIntent
impl Debug for ServerIncarnationFsyncIntent
impl Eq for ServerIncarnationFsyncIntent
impl StructuralPartialEq for ServerIncarnationFsyncIntent
Auto Trait Implementations§
impl Freeze for ServerIncarnationFsyncIntent
impl RefUnwindSafe for ServerIncarnationFsyncIntent
impl Send for ServerIncarnationFsyncIntent
impl Sync for ServerIncarnationFsyncIntent
impl Unpin for ServerIncarnationFsyncIntent
impl UnsafeUnpin for ServerIncarnationFsyncIntent
impl UnwindSafe for ServerIncarnationFsyncIntent
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