pub enum NerfError {
Show 15 variants
DimensionMismatch {
expected: usize,
got: usize,
},
EmptyInput,
InvalidFreqLevels {
levels: usize,
},
InvalidHashConfig {
msg: String,
},
NanEncountered {
context: String,
},
InvalidBounds {
near: f32,
far: f32,
},
InvalidSampleCount {
n: usize,
},
ZeroRayDirection,
InvalidCameraIntrinsics {
msg: String,
},
InvalidGridResolution {
res: usize,
},
HashLevelOutOfRange {
level: usize,
},
InvalidFeatureDim {
dim: usize,
},
TensorDecompError {
msg: String,
},
VolumeRenderError {
msg: String,
},
Internal {
msg: String,
},
}Expand description
All errors that can be returned by oxicuda-nerf operations.
Variants§
DimensionMismatch
EmptyInput
InvalidFreqLevels
InvalidHashConfig
NanEncountered
InvalidBounds
InvalidSampleCount
ZeroRayDirection
InvalidCameraIntrinsics
InvalidGridResolution
HashLevelOutOfRange
InvalidFeatureDim
TensorDecompError
VolumeRenderError
Internal
Trait Implementations§
Source§impl Error for NerfError
impl Error for NerfError
1.30.0 · 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 NerfError
impl RefUnwindSafe for NerfError
impl Send for NerfError
impl Sync for NerfError
impl Unpin for NerfError
impl UnsafeUnpin for NerfError
impl UnwindSafe for NerfError
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