pub struct FlushReport<const N: usize> {
pub batch: BatchCounts,
pub submitted: usize,
pub started: usize,
pub stolen: usize,
pub suppressed: usize,
pub rejected_invalid: usize,
pub rejected_reserved: usize,
pub rejected_priority: usize,
pub outcomes: [Option<CueOutcome>; N],
}Expand description
Fixed-storage flush result. The first submitted entries of outcomes are
Some, in retained insertion order; all remaining entries are None.
Counts describe submissions, not voices still live after later steals.
Fields§
§batch: BatchCounts§submitted: usize§started: usize§stolen: usize§suppressed: usize§rejected_invalid: usize§rejected_reserved: usize§rejected_priority: usize§outcomes: [Option<CueOutcome>; N]Implementations§
Source§impl<const N: usize> FlushReport<N>
impl<const N: usize> FlushReport<N>
Trait Implementations§
Source§impl<const N: usize> Clone for FlushReport<N>
impl<const N: usize> Clone for FlushReport<N>
Source§fn clone(&self) -> FlushReport<N>
fn clone(&self) -> FlushReport<N>
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<const N: usize> Debug for FlushReport<N>
impl<const N: usize> Debug for FlushReport<N>
Source§impl<const N: usize> PartialEq for FlushReport<N>
impl<const N: usize> PartialEq for FlushReport<N>
impl<const N: usize> StructuralPartialEq for FlushReport<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for FlushReport<N>
impl<const N: usize> RefUnwindSafe for FlushReport<N>
impl<const N: usize> Send for FlushReport<N>
impl<const N: usize> Sync for FlushReport<N>
impl<const N: usize> Unpin for FlushReport<N>
impl<const N: usize> UnwindSafe for FlushReport<N>
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