pub struct SerializableCheckpointKey(/* private fields */);Expand description
An opaque ordered checkpoint address. Providers preserve all 49 bytes and byte ordering; common storage validates the corresponding record and owns its interpretation.
Implementations§
Source§impl SerializableCheckpointKey
impl SerializableCheckpointKey
pub fn from_bytes(bytes: &[u8]) -> VersionResult<Self>
pub const fn as_bytes(&self) -> &[u8; 49]
Trait Implementations§
Source§impl Clone for SerializableCheckpointKey
impl Clone for SerializableCheckpointKey
impl Copy for SerializableCheckpointKey
Source§impl Debug for SerializableCheckpointKey
impl Debug for SerializableCheckpointKey
impl Eq for SerializableCheckpointKey
Source§impl Ord for SerializableCheckpointKey
impl Ord for SerializableCheckpointKey
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 PartialOrd for SerializableCheckpointKey
impl PartialOrd for SerializableCheckpointKey
impl StructuralPartialEq for SerializableCheckpointKey
Auto Trait Implementations§
impl Freeze for SerializableCheckpointKey
impl RefUnwindSafe for SerializableCheckpointKey
impl Send for SerializableCheckpointKey
impl Sync for SerializableCheckpointKey
impl Unpin for SerializableCheckpointKey
impl UnsafeUnpin for SerializableCheckpointKey
impl UnwindSafe for SerializableCheckpointKey
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