pub enum Breakpoint {
Edge(SegmentSlot),
Tail,
}Expand description
One explicit prompt-cache breakpoint a request carries.
Variants§
Edge(SegmentSlot)
The end of a frozen segment.
Tail
The last message of the conversation, whatever its role.
Implementations§
Trait Implementations§
Source§impl Clone for Breakpoint
impl Clone for Breakpoint
impl Copy for Breakpoint
Source§impl Debug for Breakpoint
impl Debug for Breakpoint
impl Eq for Breakpoint
Source§impl PartialEq for Breakpoint
impl PartialEq for Breakpoint
impl StructuralPartialEq for Breakpoint
Auto Trait Implementations§
impl Freeze for Breakpoint
impl RefUnwindSafe for Breakpoint
impl Send for Breakpoint
impl Sync for Breakpoint
impl Unpin for Breakpoint
impl UnsafeUnpin for Breakpoint
impl UnwindSafe for Breakpoint
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