pub struct ReadLeaseGeneration(/* private fields */);Expand description
A monotonically increasing generation for one replicated generation-read lease.
Implementations§
Trait Implementations§
Source§impl Clone for ReadLeaseGeneration
impl Clone for ReadLeaseGeneration
impl Copy for ReadLeaseGeneration
Source§impl Debug for ReadLeaseGeneration
impl Debug for ReadLeaseGeneration
Source§impl<'de> Deserialize<'de> for ReadLeaseGeneration
impl<'de> Deserialize<'de> for ReadLeaseGeneration
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
Source§impl Display for ReadLeaseGeneration
impl Display for ReadLeaseGeneration
impl Eq for ReadLeaseGeneration
Source§impl Hash for ReadLeaseGeneration
impl Hash for ReadLeaseGeneration
Source§impl Ord for ReadLeaseGeneration
impl Ord for ReadLeaseGeneration
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ReadLeaseGeneration
impl PartialEq for ReadLeaseGeneration
Source§impl PartialOrd for ReadLeaseGeneration
impl PartialOrd for ReadLeaseGeneration
Source§impl Serialize for ReadLeaseGeneration
impl Serialize for ReadLeaseGeneration
impl StructuralPartialEq for ReadLeaseGeneration
Auto Trait Implementations§
impl Freeze for ReadLeaseGeneration
impl RefUnwindSafe for ReadLeaseGeneration
impl Send for ReadLeaseGeneration
impl Sync for ReadLeaseGeneration
impl Unpin for ReadLeaseGeneration
impl UnsafeUnpin for ReadLeaseGeneration
impl UnwindSafe for ReadLeaseGeneration
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