pub enum RealtimeTraceError {
Evidence(EvidenceError),
InputShape(Vec<usize>),
TokenRange(i64),
IndexOverflow(usize),
BatchChanged {
expected: usize,
actual: usize,
},
FrameWidth {
batch: usize,
width: usize,
values: usize,
},
Observation(ObservationError),
}Expand description
Invalid portable realtime trace evidence.
Variants§
Evidence(EvidenceError)
Tensor host observation failed.
InputShape(Vec<usize>)
Encoded input must be [batch, codebooks, frames].
TokenRange(i64)
One portable token does not fit the realtime I32 domain.
IndexOverflow(usize)
A frame ordinal cannot be represented in evidence.
BatchChanged
Input batch changed within one request.
FrameWidth
A completed frame has incompatible token geometry.
Fields
Observation(ObservationError)
Portable observation construction failed.
Trait Implementations§
Source§impl Debug for RealtimeTraceError
impl Debug for RealtimeTraceError
Source§impl Display for RealtimeTraceError
impl Display for RealtimeTraceError
Source§impl Error for RealtimeTraceError
impl Error for RealtimeTraceError
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<EvidenceError> for RealtimeTraceError
impl From<EvidenceError> for RealtimeTraceError
Source§fn from(source: EvidenceError) -> Self
fn from(source: EvidenceError) -> Self
Converts to this type from the input type.
Source§impl From<ObservationError> for RealtimeTraceError
impl From<ObservationError> for RealtimeTraceError
Source§fn from(source: ObservationError) -> Self
fn from(source: ObservationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RealtimeTraceError
impl RefUnwindSafe for RealtimeTraceError
impl Send for RealtimeTraceError
impl Sync for RealtimeTraceError
impl Unpin for RealtimeTraceError
impl UnsafeUnpin for RealtimeTraceError
impl UnwindSafe for RealtimeTraceError
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