pub enum PromptBoundKind {
PromptCount,
PromptBytes,
}Expand description
Which prompt bound a dispatch ran into. Carries the numbers, never the
prompts — the same rule
SessionKvLimitKind follows
for values.
Variants§
Trait Implementations§
Source§impl Clone for PromptBoundKind
impl Clone for PromptBoundKind
impl Copy for PromptBoundKind
Source§impl Debug for PromptBoundKind
impl Debug for PromptBoundKind
Source§impl Display for PromptBoundKind
impl Display for PromptBoundKind
impl Eq for PromptBoundKind
Source§impl PartialEq for PromptBoundKind
impl PartialEq for PromptBoundKind
impl StructuralPartialEq for PromptBoundKind
Auto Trait Implementations§
impl Freeze for PromptBoundKind
impl RefUnwindSafe for PromptBoundKind
impl Send for PromptBoundKind
impl Sync for PromptBoundKind
impl Unpin for PromptBoundKind
impl UnsafeUnpin for PromptBoundKind
impl UnwindSafe for PromptBoundKind
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.