pub enum StateSeqError {
SizeMismatch {
expected: usize,
actual: usize,
},
}Expand description
Errors from the sequence-state save/restore API.
Module-local mirror of the anchor crate’s crate::StateSeqError, which
lives in the crate root there; kept local here so this module compiles
independently.
Variants§
SizeMismatch
llama.cpp read or wrote a different number of bytes than expected.
Trait Implementations§
Source§impl Debug for StateSeqError
impl Debug for StateSeqError
Source§impl Display for StateSeqError
impl Display for StateSeqError
impl Eq for StateSeqError
Source§impl Error for StateSeqError
impl Error for StateSeqError
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()
Source§impl PartialEq for StateSeqError
impl PartialEq for StateSeqError
impl StructuralPartialEq for StateSeqError
Auto Trait Implementations§
impl Freeze for StateSeqError
impl RefUnwindSafe for StateSeqError
impl Send for StateSeqError
impl Sync for StateSeqError
impl Unpin for StateSeqError
impl UnsafeUnpin for StateSeqError
impl UnwindSafe for StateSeqError
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