pub enum NvError {
Media(MediaError),
Stage(StageError),
Temporal(TemporalError),
View(ViewError),
Runtime(RuntimeError),
Config(ConfigError),
}Expand description
Top-level error enum encompassing all NextVision error categories.
Variants§
Media(MediaError)
Error originating from the media/source layer.
Stage(StageError)
Error originating from a perception stage.
Temporal(TemporalError)
Error from the temporal state system.
View(ViewError)
Error from the view/PTZ system.
Runtime(RuntimeError)
Error from the runtime/orchestration layer.
Config(ConfigError)
Configuration error — returned at feed/runtime creation time.
Trait Implementations§
Source§impl Error for NvError
impl Error for NvError
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<ConfigError> for NvError
impl From<ConfigError> for NvError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<MediaError> for NvError
impl From<MediaError> for NvError
Source§fn from(source: MediaError) -> Self
fn from(source: MediaError) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeError> for NvError
impl From<RuntimeError> for NvError
Source§fn from(source: RuntimeError) -> Self
fn from(source: RuntimeError) -> Self
Converts to this type from the input type.
Source§impl From<StageError> for NvError
impl From<StageError> for NvError
Source§fn from(source: StageError) -> Self
fn from(source: StageError) -> Self
Converts to this type from the input type.
Source§impl From<TemporalError> for NvError
impl From<TemporalError> for NvError
Source§fn from(source: TemporalError) -> Self
fn from(source: TemporalError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NvError
impl RefUnwindSafe for NvError
impl Send for NvError
impl Sync for NvError
impl Unpin for NvError
impl UnsafeUnpin for NvError
impl UnwindSafe for NvError
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