pub struct BurstAdmission {
pub requested: u64,
pub admitted: u64,
pub dropped_budget: u64,
pub dropped_capacity: u64,
}Expand description
Read-only burst admission at the pool’s current occupancy.
requested == admitted + dropped_budget + dropped_capacity. Admission
bounds the work attempted, not successful spawns: generated particles can
still fail validation. The actual outcome is returned as EmissionStats.
This value reserves no slots and remains applicable only while the emitter
configuration and pool occupancy are unchanged. See Emitter::burst_admission.
Fields§
§requested: u64Total demand, including particles that will be skipped.
admitted: u64Maximum samples attempted, bounded by both budgets and available slots.
dropped_budget: u64Demand beyond the smaller of the caller and configured budgets.
dropped_capacity: u64Budgeted demand beyond the pool’s currently available slots.
Trait Implementations§
Source§impl Clone for BurstAdmission
impl Clone for BurstAdmission
Source§fn clone(&self) -> BurstAdmission
fn clone(&self) -> BurstAdmission
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 BurstAdmission
impl Debug for BurstAdmission
Source§impl Default for BurstAdmission
impl Default for BurstAdmission
Source§fn default() -> BurstAdmission
fn default() -> BurstAdmission
Returns the “default value” for a type. Read more
Source§impl PartialEq for BurstAdmission
impl PartialEq for BurstAdmission
impl Copy for BurstAdmission
impl Eq for BurstAdmission
impl StructuralPartialEq for BurstAdmission
Auto Trait Implementations§
impl Freeze for BurstAdmission
impl RefUnwindSafe for BurstAdmission
impl Send for BurstAdmission
impl Sync for BurstAdmission
impl Unpin for BurstAdmission
impl UnwindSafe for BurstAdmission
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