pub struct ActivationTicket { /* private fields */ }Expand description
Whole-tail commit authority captured before worker-side image activation. This is not application completion. Recheck it after I/O before releasing admission.
Implementations§
Source§impl ActivationTicket
impl ActivationTicket
Sourcepub const fn local(self) -> NodeId
pub const fn local(self) -> NodeId
Local configured voter whose application image may be activated.
Sourcepub const fn generation(self) -> JournalGeneration
pub const fn generation(self) -> JournalGeneration
Installed writer incarnation; old generations cannot activate it.
Trait Implementations§
Source§impl Clone for ActivationTicket
impl Clone for ActivationTicket
impl Copy for ActivationTicket
Source§impl Debug for ActivationTicket
impl Debug for ActivationTicket
impl Eq for ActivationTicket
Source§impl PartialEq for ActivationTicket
impl PartialEq for ActivationTicket
impl StructuralPartialEq for ActivationTicket
Auto Trait Implementations§
impl Freeze for ActivationTicket
impl RefUnwindSafe for ActivationTicket
impl Send for ActivationTicket
impl Sync for ActivationTicket
impl Unpin for ActivationTicket
impl UnsafeUnpin for ActivationTicket
impl UnwindSafe for ActivationTicket
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