pub enum KvCacheConversionError {
SeqIdTooLarge(TryFromIntError),
P0TooLarge(TryFromIntError),
P1TooLarge(TryFromIntError),
}
Expand description
Errors that can occur when attempting to prepare values for the kv cache
Variants§
SeqIdTooLarge(TryFromIntError)
Sequence id conversion to i32 failed
P0TooLarge(TryFromIntError)
Position 0 conversion to i32 failed
P1TooLarge(TryFromIntError)
Position 1 conversion to i32 failed
Trait Implementations§
Source§impl Debug for KvCacheConversionError
impl Debug for KvCacheConversionError
Source§impl Display for KvCacheConversionError
impl Display for KvCacheConversionError
Source§impl Error for KvCacheConversionError
impl Error for KvCacheConversionError
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 PartialEq for KvCacheConversionError
impl PartialEq for KvCacheConversionError
impl Eq for KvCacheConversionError
impl StructuralPartialEq for KvCacheConversionError
Auto Trait Implementations§
impl Freeze for KvCacheConversionError
impl RefUnwindSafe for KvCacheConversionError
impl Send for KvCacheConversionError
impl Sync for KvCacheConversionError
impl Unpin for KvCacheConversionError
impl UnwindSafe for KvCacheConversionError
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