pub struct ClusterIdentity { /* private fields */ }Expand description
Exact opaque and numeric recovery identity pair stored in snapshots and markers.
Implementations§
Source§impl ClusterIdentity
impl ClusterIdentity
pub const fn new( recovery_era: RecoveryEra, recovery_generation: RecoveryGeneration, ) -> Self
pub const fn recovery_era(self) -> RecoveryEra
pub const fn recovery_generation(self) -> RecoveryGeneration
Trait Implementations§
Source§impl Clone for ClusterIdentity
impl Clone for ClusterIdentity
impl Copy for ClusterIdentity
Source§impl Debug for ClusterIdentity
impl Debug for ClusterIdentity
Source§impl<'de> Deserialize<'de> for ClusterIdentity
impl<'de> Deserialize<'de> for ClusterIdentity
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 ClusterIdentity
Source§impl PartialEq for ClusterIdentity
impl PartialEq for ClusterIdentity
Source§impl Serialize for ClusterIdentity
impl Serialize for ClusterIdentity
impl StructuralPartialEq for ClusterIdentity
Auto Trait Implementations§
impl Freeze for ClusterIdentity
impl RefUnwindSafe for ClusterIdentity
impl Send for ClusterIdentity
impl Sync for ClusterIdentity
impl Unpin for ClusterIdentity
impl UnsafeUnpin for ClusterIdentity
impl UnwindSafe for ClusterIdentity
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