Enum llama_cpp_2::context::session::SaveSessionError
source · pub enum SaveSessionError {
FailedToSave,
NullError(NulError),
PathToStrError(PathBuf),
}
Expand description
Failed to save a Session file
Variants§
FailedToSave
llama.cpp failed to save the session file
NullError(NulError)
null byte in string
PathToStrError(PathBuf)
failed to convert path to str
Trait Implementations§
source§impl Debug for SaveSessionError
impl Debug for SaveSessionError
source§impl Display for SaveSessionError
impl Display for SaveSessionError
source§impl Error for SaveSessionError
impl Error for SaveSessionError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<NulError> for SaveSessionError
impl From<NulError> for SaveSessionError
source§impl PartialEq for SaveSessionError
impl PartialEq for SaveSessionError
source§fn eq(&self, other: &SaveSessionError) -> bool
fn eq(&self, other: &SaveSessionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SaveSessionError
impl StructuralPartialEq for SaveSessionError
Auto Trait Implementations§
impl RefUnwindSafe for SaveSessionError
impl Send for SaveSessionError
impl Sync for SaveSessionError
impl Unpin for SaveSessionError
impl UnwindSafe for SaveSessionError
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