Struct FallibleCommandBufferMetrics
pub struct FallibleCommandBufferMetrics {
pub accepted: u64,
pub rejected: u64,
pub started: u64,
pub applied: u64,
pub failed: u64,
pub discarded: u64,
pub high_water_mark: usize,
}Expand description
Fallible queue activity since construction or the last metrics reset.
Counters saturate independently at u64::MAX. Pending commands can span
observation intervals, so accepted and completed counts need not balance.
Fields§
§accepted: u64Pushes accepted into the queue, including commands not yet invoked.
rejected: u64Pushes rejected at capacity, including every push at zero capacity.
started: u64Commands removed for invocation, including those that panic.
applied: u64Invocations that returned Ok(()).
failed: u64Invocations that returned Err, counted before calling the error callback.
discarded: u64Commands removed by FallibleCommandBuffer::clear without invoking them.
high_water_mark: usizeLargest queued count, including the count at the last metrics reset.
Trait Implementations§
§impl Clone for FallibleCommandBufferMetrics
impl Clone for FallibleCommandBufferMetrics
§fn clone(&self) -> FallibleCommandBufferMetrics
fn clone(&self) -> FallibleCommandBufferMetrics
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 more§impl Debug for FallibleCommandBufferMetrics
impl Debug for FallibleCommandBufferMetrics
§impl Default for FallibleCommandBufferMetrics
impl Default for FallibleCommandBufferMetrics
§fn default() -> FallibleCommandBufferMetrics
fn default() -> FallibleCommandBufferMetrics
Returns the “default value” for a type. Read more
§impl PartialEq for FallibleCommandBufferMetrics
impl PartialEq for FallibleCommandBufferMetrics
impl Copy for FallibleCommandBufferMetrics
impl Eq for FallibleCommandBufferMetrics
impl StructuralPartialEq for FallibleCommandBufferMetrics
Auto Trait Implementations§
impl Freeze for FallibleCommandBufferMetrics
impl RefUnwindSafe for FallibleCommandBufferMetrics
impl Send for FallibleCommandBufferMetrics
impl Sync for FallibleCommandBufferMetrics
impl Unpin for FallibleCommandBufferMetrics
impl UnwindSafe for FallibleCommandBufferMetrics
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