pub enum DenoiserError {
QueueFull,
NoAcceleratorAvailable,
Other(Error),
}Expand description
Errors reported by the high-level Denoiser.
Variants§
QueueFull
An earlier denoised frame has not been collected yet, so pushing again would overwrite it in the double-buffered output slot.
Call Denoiser::recv_frame or Denoiser::try_recv_frame,
then retry the same push_frame call.
NoAcceleratorAvailable
None of the accelerators in the priority list could be started.
Other(Error)
Anything else, wrapping the internal anyhow errors raised by
kernel dispatch and readback.
Trait Implementations§
Source§impl Debug for DenoiserError
impl Debug for DenoiserError
Source§impl Display for DenoiserError
impl Display for DenoiserError
Source§impl Error for DenoiserError
impl Error for DenoiserError
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 Freeze for DenoiserError
impl RefUnwindSafe for DenoiserError
impl Send for DenoiserError
impl Sync for DenoiserError
impl Unpin for DenoiserError
impl UnsafeUnpin for DenoiserError
impl UnwindSafe for DenoiserError
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