pub struct InstanceGroupReport {
pub accepted: usize,
pub rejected: usize,
pub culled: usize,
pub visible: usize,
pub error: Option<InstanceGroupError>,
}Expand description
Outcome of one atomic draw_residents_checked call.
Counts are exact usize entry counts, not saturating activity counters.
accepted + culled + rejected equals the input slice length. See the
function’s runnable recipe for handling both success and whole-group failure.
Fields§
§accepted: usizeRecorded instances, including shadow-only instances.
rejected: usizeAll input entries on failure; zero on success, including complete culls.
culled: usizeValid entries omitted from both the visible and shadow passes.
visible: usizeVisible recorded instances; a subset of accepted.
error: Option<InstanceGroupError>First validation error, or the first entry exceeding aggregate capacity.
Trait Implementations§
Source§impl Clone for InstanceGroupReport
impl Clone for InstanceGroupReport
Source§fn clone(&self) -> InstanceGroupReport
fn clone(&self) -> InstanceGroupReport
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 InstanceGroupReport
impl Debug for InstanceGroupReport
Source§impl Default for InstanceGroupReport
impl Default for InstanceGroupReport
Source§fn default() -> InstanceGroupReport
fn default() -> InstanceGroupReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for InstanceGroupReport
impl PartialEq for InstanceGroupReport
impl Copy for InstanceGroupReport
impl Eq for InstanceGroupReport
impl StructuralPartialEq for InstanceGroupReport
Auto Trait Implementations§
impl Freeze for InstanceGroupReport
impl RefUnwindSafe for InstanceGroupReport
impl Send for InstanceGroupReport
impl Sync for InstanceGroupReport
impl Unpin for InstanceGroupReport
impl UnwindSafe for InstanceGroupReport
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