pub enum TokenGeneratorResult {
Token(TokenProbability),
Finish(FinishReason),
}
Variants§
Token(TokenProbability)
Finish(FinishReason)
Trait Implementations§
source§impl Debug for TokenGeneratorResult
impl Debug for TokenGeneratorResult
source§impl PartialEq for TokenGeneratorResult
impl PartialEq for TokenGeneratorResult
source§fn eq(&self, other: &TokenGeneratorResult) -> bool
fn eq(&self, other: &TokenGeneratorResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TokenGeneratorResult
Auto Trait Implementations§
impl RefUnwindSafe for TokenGeneratorResult
impl Send for TokenGeneratorResult
impl Sync for TokenGeneratorResult
impl Unpin for TokenGeneratorResult
impl UnwindSafe for TokenGeneratorResult
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