pub struct CheckpointId(/* private fields */);Expand description
Checkpoint identifier for committed state, graph, or settlement checkpoints.
Implementations§
Source§impl CheckpointId
impl CheckpointId
Sourcepub fn new(bytes: &[u8]) -> Result<Self, ValidationError>
pub fn new(bytes: &[u8]) -> Result<Self, ValidationError>
Creates a validated identifier from canonical bytes.
Trait Implementations§
Source§impl Debug for CheckpointId
impl Debug for CheckpointId
impl Eq for CheckpointId
Source§impl PartialEq for CheckpointId
impl PartialEq for CheckpointId
Source§fn eq(&self, other: &CheckpointId) -> bool
fn eq(&self, other: &CheckpointId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheckpointId
Auto Trait Implementations§
impl Freeze for CheckpointId
impl RefUnwindSafe for CheckpointId
impl Send for CheckpointId
impl Sync for CheckpointId
impl Unpin for CheckpointId
impl UnsafeUnpin for CheckpointId
impl UnwindSafe for CheckpointId
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