pub struct LeaseRecovery {
pub authority_fence: Option<bool>,
pub authority_ready: Option<bool>,
pub activation_only: Option<bool>,
pub resumed_at_ms: u64,
}Expand description
Declared coordinator recovery, retained until a later recovery overwrites it.
Fields§
Durable namespace authority mode, independent of business creation.
Initial barrier is complete; fenced grants can now be installed.
activation_only: Option<bool>This row carries activation state without declaring a real recovery.
resumed_at_ms: u64Recovery time, Unix milliseconds from the pipeline clock.
Implementations§
Source§impl LeaseRecovery
impl LeaseRecovery
Sourcepub fn recovery_time(self) -> Option<u64>
pub fn recovery_time(self) -> Option<u64>
Actual recovery time; a pure activation marker creates no holdoff.
Trait Implementations§
Source§impl Clone for LeaseRecovery
impl Clone for LeaseRecovery
impl Copy for LeaseRecovery
Source§impl Debug for LeaseRecovery
impl Debug for LeaseRecovery
Source§impl<'de> Deserialize<'de> for LeaseRecovery
impl<'de> Deserialize<'de> for LeaseRecovery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeaseRecovery
Source§impl PartialEq for LeaseRecovery
impl PartialEq for LeaseRecovery
Source§impl Serialize for LeaseRecovery
impl Serialize for LeaseRecovery
impl StructuralPartialEq for LeaseRecovery
Auto Trait Implementations§
impl Freeze for LeaseRecovery
impl RefUnwindSafe for LeaseRecovery
impl Send for LeaseRecovery
impl Sync for LeaseRecovery
impl Unpin for LeaseRecovery
impl UnsafeUnpin for LeaseRecovery
impl UnwindSafe for LeaseRecovery
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