pub enum ReasoningBudgetState {
Idle,
Counting,
Forcing,
WaitingUtf8,
Done,
}Expand description
Where a ReasoningBudget is in its state machine.
Variants§
Idle
Passing tokens through, watching for a start tag.
Counting
Inside a reasoning block, counting down.
Forcing
Budget spent; emitting the forced closing sequence.
WaitingUtf8
Budget spent, but finishing a partial UTF-8 sequence first.
Done
Finished; passing everything through.
Trait Implementations§
Source§impl Clone for ReasoningBudgetState
impl Clone for ReasoningBudgetState
Source§fn clone(&self) -> ReasoningBudgetState
fn clone(&self) -> ReasoningBudgetState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReasoningBudgetState
Source§impl Debug for ReasoningBudgetState
impl Debug for ReasoningBudgetState
impl Eq for ReasoningBudgetState
Source§impl PartialEq for ReasoningBudgetState
impl PartialEq for ReasoningBudgetState
impl StructuralPartialEq for ReasoningBudgetState
Auto Trait Implementations§
impl Freeze for ReasoningBudgetState
impl RefUnwindSafe for ReasoningBudgetState
impl Send for ReasoningBudgetState
impl Sync for ReasoningBudgetState
impl Unpin for ReasoningBudgetState
impl UnsafeUnpin for ReasoningBudgetState
impl UnwindSafe for ReasoningBudgetState
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