pub enum CapturePhase {
Prefill,
Decode,
}Expand description
One ordinary forward operation. Prediction zero is prefill; decode starts at one.
Variants§
Prefill
Prompt execution producing the first prediction.
Decode
Cached execution producing a later prediction.
Trait Implementations§
Source§impl Clone for CapturePhase
impl Clone for CapturePhase
Source§fn clone(&self) -> CapturePhase
fn clone(&self) -> CapturePhase
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 CapturePhase
Source§impl Debug for CapturePhase
impl Debug for CapturePhase
Source§impl<'de> Deserialize<'de> for CapturePhase
impl<'de> Deserialize<'de> for CapturePhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CapturePhase
Source§impl PartialEq for CapturePhase
impl PartialEq for CapturePhase
Source§impl Serialize for CapturePhase
impl Serialize for CapturePhase
impl StructuralPartialEq for CapturePhase
Auto Trait Implementations§
impl Freeze for CapturePhase
impl RefUnwindSafe for CapturePhase
impl Send for CapturePhase
impl Sync for CapturePhase
impl Unpin for CapturePhase
impl UnsafeUnpin for CapturePhase
impl UnwindSafe for CapturePhase
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