pub enum DenoiserError {
QueueFull,
NoAcceleratorAvailable,
Other(Error),
}Expand description
Errors surfaced from the high-level Denoiser.
Variants§
QueueFull
A previous denoised frame hasn’t been collected yet and the
internal double-buffered output slot would alias. Call
Denoiser::recv_frame or Denoiser::try_recv_frame first,
then retry the same push_frame call.
NoAcceleratorAvailable
None of the accelerators in the priority list could be initialised.
Other(Error)
Catch-all wrapping internal anyhow errors from 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