pub enum LlamaSamplerError {
NullReturn,
}
Expand description
An error that can occur when initializing a sampler.
Variants§
NullReturn
llama.cpp returned null
Trait Implementations§
Source§impl Debug for LlamaSamplerError
impl Debug for LlamaSamplerError
Source§impl Display for LlamaSamplerError
impl Display for LlamaSamplerError
Source§impl Error for LlamaSamplerError
impl Error for LlamaSamplerError
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 LlamaSamplerError
impl PartialEq for LlamaSamplerError
impl Eq for LlamaSamplerError
impl StructuralPartialEq for LlamaSamplerError
Auto Trait Implementations§
impl Freeze for LlamaSamplerError
impl RefUnwindSafe for LlamaSamplerError
impl Send for LlamaSamplerError
impl Sync for LlamaSamplerError
impl Unpin for LlamaSamplerError
impl UnwindSafe for LlamaSamplerError
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