pub struct HybridCache {
pub layers: Vec<LayerCache>,
}Expand description
Per-sequence hybrid cache. Slot identity is the layer index; a prefix hit that writes KDA state into the wrong slot is the C4 mutant.
Fields§
§layers: Vec<LayerCache>Implementations§
Trait Implementations§
Source§impl Clone for HybridCache
impl Clone for HybridCache
Source§fn clone(&self) -> HybridCache
fn clone(&self) -> HybridCache
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HybridCache
impl RefUnwindSafe for HybridCache
impl Send for HybridCache
impl Sync for HybridCache
impl Unpin for HybridCache
impl UnwindSafe for HybridCache
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