pub enum LogAction {
Log,
SuppressionNotice,
Silent {
debug_bump: bool,
},
}Expand description
What the uncaptured-error handler should do for the count-th uncaptured
error (1-indexed) it has observed on a given device.
Also the latch the renderer above reuses for its own per-frame event that can reproduce every vsync (an engine frame refusal), so the two report at the same cadence.
Variants§
Log
One of the first MAX_LOGGED_UNCAPTURED_ERRORS: log the error itself
at error level.
SuppressionNotice
The first error past the cap: log one suppression notice (naming the running total) instead of the error itself.
Silent
Past the cap and past the suppression notice: stay silent, except a
periodic debug-level count bump when debug_bump is set.
Trait Implementations§
impl Copy for LogAction
impl Eq for LogAction
impl StructuralPartialEq for LogAction
Auto Trait Implementations§
impl Freeze for LogAction
impl RefUnwindSafe for LogAction
impl Send for LogAction
impl Sync for LogAction
impl Unpin for LogAction
impl UnsafeUnpin for LogAction
impl UnwindSafe for LogAction
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.