pub enum TokenGraphOutcome {
Declined,
Completed,
Failed,
}Expand description
Outcome of one whole-token graph attempt. A failed attempt after sealed O(1) state was admitted must not fall through to the stale CPU state.
Variants§
Declined
No command was committed; the caller may use its ordinary path.
Completed
The graph completed and its hidden/logits output is valid.
Failed
Sealed O(1) state was admitted and a later graph operation failed.
Trait Implementations§
Source§impl Clone for TokenGraphOutcome
impl Clone for TokenGraphOutcome
Source§fn clone(&self) -> TokenGraphOutcome
fn clone(&self) -> TokenGraphOutcome
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 TokenGraphOutcome
Source§impl Debug for TokenGraphOutcome
impl Debug for TokenGraphOutcome
impl Eq for TokenGraphOutcome
Source§impl PartialEq for TokenGraphOutcome
impl PartialEq for TokenGraphOutcome
impl StructuralPartialEq for TokenGraphOutcome
Auto Trait Implementations§
impl Freeze for TokenGraphOutcome
impl RefUnwindSafe for TokenGraphOutcome
impl Send for TokenGraphOutcome
impl Sync for TokenGraphOutcome
impl Unpin for TokenGraphOutcome
impl UnsafeUnpin for TokenGraphOutcome
impl UnwindSafe for TokenGraphOutcome
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