pub struct PartitionId(/* private fields */);Expand description
The tenancy/placement unit. Everything routes by this (docs/03 §1).
Implementations§
Source§impl PartitionId
impl PartitionId
Trait Implementations§
Source§impl Clone for PartitionId
impl Clone for PartitionId
Source§fn clone(&self) -> PartitionId
fn clone(&self) -> PartitionId
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 moreSource§impl Debug for PartitionId
impl Debug for PartitionId
Source§impl Display for PartitionId
impl Display for PartitionId
impl Eq for PartitionId
Source§impl From<&str> for PartitionId
impl From<&str> for PartitionId
Source§impl From<String> for PartitionId
impl From<String> for PartitionId
Source§impl Hash for PartitionId
impl Hash for PartitionId
Source§impl Ord for PartitionId
impl Ord for PartitionId
Source§fn cmp(&self, other: &PartitionId) -> Ordering
fn cmp(&self, other: &PartitionId) -> 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
Source§impl PartialEq for PartitionId
impl PartialEq for PartitionId
Source§fn eq(&self, other: &PartitionId) -> bool
fn eq(&self, other: &PartitionId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PartitionId
impl PartialOrd for PartitionId
impl StructuralPartialEq for PartitionId
Auto Trait Implementations§
impl Freeze for PartitionId
impl RefUnwindSafe for PartitionId
impl Send for PartitionId
impl Sync for PartitionId
impl Unpin for PartitionId
impl UnsafeUnpin for PartitionId
impl UnwindSafe for PartitionId
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