pub enum DryInitError {
Nul(NulError),
Init,
}Expand description
Error building a LlamaDrySampler.
Variants§
Nul(NulError)
A sequence breaker contained an interior NUL byte.
Init
llama_sampler_init_dry returned null.
Trait Implementations§
Source§impl Debug for DryInitError
impl Debug for DryInitError
Source§impl Display for DryInitError
impl Display for DryInitError
Source§impl Error for DryInitError
impl Error for DryInitError
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()
Auto Trait Implementations§
impl Freeze for DryInitError
impl RefUnwindSafe for DryInitError
impl Send for DryInitError
impl Sync for DryInitError
impl Unpin for DryInitError
impl UnsafeUnpin for DryInitError
impl UnwindSafe for DryInitError
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