pub enum RealtimeSamplingReplacementError<E, G> {
QueuedWork,
Scheduler(SchedulerError),
Realization(E),
Generation(G),
}Expand description
Sampling replacement failure while preserving queued-work ordering.
Variants§
QueuedWork
Queued frames retain the sampling policy under which they were accepted.
Scheduler(SchedulerError)
Core scheduler did not admit mutable idle-state access.
Realization(E)
Backend-neutral sampler/RNG realization failed.
Generation(G)
New sampler/RNG state did not match generation geometry.
Trait Implementations§
Source§impl<E, G> Display for RealtimeSamplingReplacementError<E, G>
impl<E, G> Display for RealtimeSamplingReplacementError<E, G>
Source§impl<E, G> Error for RealtimeSamplingReplacementError<E, G>
impl<E, G> Error for RealtimeSamplingReplacementError<E, G>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl<E, G> Freeze for RealtimeSamplingReplacementError<E, G>
impl<E, G> RefUnwindSafe for RealtimeSamplingReplacementError<E, G>where
E: RefUnwindSafe,
G: RefUnwindSafe,
impl<E, G> Send for RealtimeSamplingReplacementError<E, G>
impl<E, G> Sync for RealtimeSamplingReplacementError<E, G>
impl<E, G> Unpin for RealtimeSamplingReplacementError<E, G>
impl<E, G> UnsafeUnpin for RealtimeSamplingReplacementError<E, G>where
E: UnsafeUnpin,
G: UnsafeUnpin,
impl<E, G> UnwindSafe for RealtimeSamplingReplacementError<E, G>where
E: UnwindSafe,
G: UnwindSafe,
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