pub enum SceneError {
InvalidDimensions(String),
InvalidParameter(String),
FeatureExtractionFailed(String),
ClassificationFailed(String),
DetectionFailed(String),
SegmentationFailed(String),
ModelNotLoaded(String),
InsufficientData(String),
CvError(CvError),
CoreError(OxiError),
}Expand description
Error types for scene understanding operations.
Variants§
InvalidDimensions(String)
Invalid input dimensions.
InvalidParameter(String)
Invalid parameter value.
FeatureExtractionFailed(String)
Feature extraction failed.
ClassificationFailed(String)
Classification failed.
DetectionFailed(String)
Detection failed.
SegmentationFailed(String)
Segmentation failed.
ModelNotLoaded(String)
Model not loaded.
InsufficientData(String)
Insufficient data for analysis.
CvError(CvError)
Computer vision error.
CoreError(OxiError)
Core error.
Trait Implementations§
Source§impl Debug for SceneError
impl Debug for SceneError
Source§impl Display for SceneError
impl Display for SceneError
Source§impl Error for SceneError
impl Error for SceneError
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()
Source§impl From<CvError> for SceneError
impl From<CvError> for SceneError
Auto Trait Implementations§
impl !RefUnwindSafe for SceneError
impl !UnwindSafe for SceneError
impl Freeze for SceneError
impl Send for SceneError
impl Sync for SceneError
impl Unpin for SceneError
impl UnsafeUnpin for SceneError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<E> OxiErrorExt for Ewhere
E: Error,
impl<E> OxiErrorExt for Ewhere
E: Error,
Source§fn with_oxi_context(self, frame: ErrorFrame) -> OxiError
fn with_oxi_context(self, frame: ErrorFrame) -> OxiError
Wraps
self by prepending the frame’s display string as context.