pub struct SequenceCapacityParent { /* private fields */ }Expand description
One exact sequence parent of a batch-scoped child capacity claim. The coordinator derives this evidence from live leases and returns it in canonical sequence-authority order; callers cannot construct authority by copying these identifiers.
Implementations§
Source§impl SequenceCapacityParent
impl SequenceCapacityParent
pub const fn request(self) -> RequestAuthorityId
pub const fn sequence(self) -> SequenceAuthorityId
Trait Implementations§
Source§impl Clone for SequenceCapacityParent
impl Clone for SequenceCapacityParent
Source§fn clone(&self) -> SequenceCapacityParent
fn clone(&self) -> SequenceCapacityParent
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 SequenceCapacityParent
Source§impl Debug for SequenceCapacityParent
impl Debug for SequenceCapacityParent
impl Eq for SequenceCapacityParent
Source§impl Hash for SequenceCapacityParent
impl Hash for SequenceCapacityParent
Source§impl Ord for SequenceCapacityParent
impl Ord for SequenceCapacityParent
Source§fn cmp(&self, other: &SequenceCapacityParent) -> Ordering
fn cmp(&self, other: &SequenceCapacityParent) -> 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 SequenceCapacityParent
impl PartialEq for SequenceCapacityParent
Source§impl PartialOrd for SequenceCapacityParent
impl PartialOrd for SequenceCapacityParent
Source§impl Serialize for SequenceCapacityParent
impl Serialize for SequenceCapacityParent
impl StructuralPartialEq for SequenceCapacityParent
Auto Trait Implementations§
impl Freeze for SequenceCapacityParent
impl RefUnwindSafe for SequenceCapacityParent
impl Send for SequenceCapacityParent
impl Sync for SequenceCapacityParent
impl Unpin for SequenceCapacityParent
impl UnsafeUnpin for SequenceCapacityParent
impl UnwindSafe for SequenceCapacityParent
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