pub enum ZetaError {
KVCache(KVCacheError),
Quantization(QuantizationError),
Salience(SalienceError),
Config(String),
Runtime(String),
}
Variants§
KVCache(KVCacheError)
Quantization(QuantizationError)
Salience(SalienceError)
Config(String)
Runtime(String)
Trait Implementations§
Source§impl Error for ZetaError
impl Error for ZetaError
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<KVCacheError> for ZetaError
impl From<KVCacheError> for ZetaError
Source§fn from(source: KVCacheError) -> Self
fn from(source: KVCacheError) -> Self
Converts to this type from the input type.
Source§impl From<QuantizationError> for ZetaError
impl From<QuantizationError> for ZetaError
Source§fn from(source: QuantizationError) -> Self
fn from(source: QuantizationError) -> Self
Converts to this type from the input type.
Source§impl From<SalienceError> for ZetaError
impl From<SalienceError> for ZetaError
Source§fn from(source: SalienceError) -> Self
fn from(source: SalienceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ZetaError
impl !RefUnwindSafe for ZetaError
impl Send for ZetaError
impl Sync for ZetaError
impl Unpin for ZetaError
impl !UnwindSafe for ZetaError
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