pub struct CheckpointAuthorityId { /* private fields */ }Expand description
Process-local identity of one independent checkpoint capacity claim. Identifiers are issued only by the owning coordinator and are never reused.
Implementations§
Source§impl CheckpointAuthorityId
impl CheckpointAuthorityId
pub const fn coordinator_id(self) -> LogicalAdmissionCoordinatorId
pub const fn serial(self) -> u64
Trait Implementations§
Source§impl Clone for CheckpointAuthorityId
impl Clone for CheckpointAuthorityId
Source§fn clone(&self) -> CheckpointAuthorityId
fn clone(&self) -> CheckpointAuthorityId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CheckpointAuthorityId
Source§impl Debug for CheckpointAuthorityId
impl Debug for CheckpointAuthorityId
impl Eq for CheckpointAuthorityId
Source§impl Hash for CheckpointAuthorityId
impl Hash for CheckpointAuthorityId
Source§impl Ord for CheckpointAuthorityId
impl Ord for CheckpointAuthorityId
Source§fn cmp(&self, other: &CheckpointAuthorityId) -> Ordering
fn cmp(&self, other: &CheckpointAuthorityId) -> Ordering
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 CheckpointAuthorityId
impl PartialEq for CheckpointAuthorityId
Source§impl PartialOrd for CheckpointAuthorityId
impl PartialOrd for CheckpointAuthorityId
Source§impl Serialize for CheckpointAuthorityId
impl Serialize for CheckpointAuthorityId
impl StructuralPartialEq for CheckpointAuthorityId
Auto Trait Implementations§
impl Freeze for CheckpointAuthorityId
impl RefUnwindSafe for CheckpointAuthorityId
impl Send for CheckpointAuthorityId
impl Sync for CheckpointAuthorityId
impl Unpin for CheckpointAuthorityId
impl UnsafeUnpin for CheckpointAuthorityId
impl UnwindSafe for CheckpointAuthorityId
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