pub struct AssignmentStats {
pub total_partitions: u32,
pub total_moves: u32,
pub max_per_node: u32,
pub min_per_node: u32,
pub failure_domains_used: u32,
}Expand description
Statistics about an assignment plan.
Fields§
§total_partitions: u32Total number of partitions.
total_moves: u32Number of moves required.
max_per_node: u32Maximum partitions assigned to a single node.
min_per_node: u32Minimum partitions assigned to a single node.
failure_domains_used: u32Number of distinct failure domains used.
Trait Implementations§
Source§impl Clone for AssignmentStats
impl Clone for AssignmentStats
Source§fn clone(&self) -> AssignmentStats
fn clone(&self) -> AssignmentStats
Returns a duplicate of the value. Read more
1.0.0 · 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 AssignmentStats
impl Debug for AssignmentStats
Source§impl Default for AssignmentStats
impl Default for AssignmentStats
Source§fn default() -> AssignmentStats
fn default() -> AssignmentStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AssignmentStats
impl RefUnwindSafe for AssignmentStats
impl Send for AssignmentStats
impl Sync for AssignmentStats
impl Unpin for AssignmentStats
impl UnsafeUnpin for AssignmentStats
impl UnwindSafe for AssignmentStats
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.