pub enum SamplingStopReason {
EndTurn,
StopSequence,
MaxTokens,
}Expand description
Stop reason for sampling.
Variants§
Trait Implementations§
Source§impl Clone for SamplingStopReason
impl Clone for SamplingStopReason
Source§fn clone(&self) -> SamplingStopReason
fn clone(&self) -> SamplingStopReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SamplingStopReason
impl Debug for SamplingStopReason
Source§impl Default for SamplingStopReason
impl Default for SamplingStopReason
Source§fn default() -> SamplingStopReason
fn default() -> SamplingStopReason
Returns the “default value” for a type. Read more
Source§impl PartialEq for SamplingStopReason
impl PartialEq for SamplingStopReason
impl Copy for SamplingStopReason
impl Eq for SamplingStopReason
impl StructuralPartialEq for SamplingStopReason
Auto Trait Implementations§
impl Freeze for SamplingStopReason
impl RefUnwindSafe for SamplingStopReason
impl Send for SamplingStopReason
impl Sync for SamplingStopReason
impl Unpin for SamplingStopReason
impl UnwindSafe for SamplingStopReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).