#[non_exhaustive]pub enum RvcsiError {
Adapter {
kind: String,
message: String,
},
Parse {
offset: usize,
message: String,
},
Validation(ValidationError),
Config(String),
Io(Error),
Serde(Error),
Unsupported(String),
}Expand description
Errors surfaced by the rvCSI core, adapters, DSP and event pipeline.
Parser failures are structured (never panics, never raw pointers across
boundaries — ADR-095 D6). A Validation error means a frame was rejected;
a degraded frame is not an error and is returned normally with reduced
quality_score.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Adapter
A source/adapter could not be opened or talked to.
Fields
Parse
A raw byte buffer could not be parsed into a frame.
Fields
Validation(ValidationError)
A frame failed validation and was rejected.
Config(String)
A configuration value was out of range or inconsistent.
Io(Error)
An I/O error (file capture, replay, WebSocket, …).
Serde(Error)
Serialization / deserialization error (JSON capture sidecars, RuVector export).
Unsupported(String)
The requested operation is not supported by this source/adapter.
Implementations§
Trait Implementations§
Source§impl Debug for RvcsiError
impl Debug for RvcsiError
Source§impl Display for RvcsiError
impl Display for RvcsiError
Source§impl Error for RvcsiError
impl Error for RvcsiError
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<Error> for RvcsiError
impl From<Error> for RvcsiError
Source§impl From<Error> for RvcsiError
impl From<Error> for RvcsiError
Source§impl From<ValidationError> for RvcsiError
impl From<ValidationError> for RvcsiError
Source§fn from(source: ValidationError) -> Self
fn from(source: ValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RvcsiError
impl !RefUnwindSafe for RvcsiError
impl Send for RvcsiError
impl Sync for RvcsiError
impl Unpin for RvcsiError
impl UnsafeUnpin for RvcsiError
impl !UnwindSafe for RvcsiError
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