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)>
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<NulError> for SaveSessionError
impl From<NulError> for SaveSessionError
Source§impl PartialEq for SaveSessionError
impl PartialEq for SaveSessionError
impl Eq for SaveSessionError
impl StructuralPartialEq for SaveSessionError
Auto Trait Implementations§
impl Freeze for SaveSessionError
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