pub enum StageError {
ProcessingFailed {
stage_id: StageId,
detail: String,
},
ResourceExhausted {
stage_id: StageId,
},
ModelLoadFailed {
stage_id: StageId,
detail: String,
},
}Expand description
Errors from perception stages.
Clone is derived so that stage errors can be broadcast through
health-event channels without wrapping in Arc.
Variants§
ProcessingFailed
The stage’s processing logic failed.
ResourceExhausted
The stage ran out of a resource (GPU OOM, buffer limit, etc.).
ModelLoadFailed
The stage could not load its model or contact an external dependency.
Trait Implementations§
Source§impl Clone for StageError
impl Clone for StageError
Source§fn clone(&self) -> StageError
fn clone(&self) -> StageError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StageError
impl Debug for StageError
Source§impl Display for StageError
impl Display for StageError
Source§impl Error for StageError
impl Error for StageError
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 StageError
impl RefUnwindSafe for StageError
impl Send for StageError
impl Sync for StageError
impl Unpin for StageError
impl UnsafeUnpin for StageError
impl UnwindSafe for StageError
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