pub struct SlotView {
pub filled: bool,
pub ref_count: usize,
pub last_used: u64,
}Expand description
2026-09-25: A cache slot’s state as select_victim_slot reads it, built by
LoraWeights::cache_slot_views.
Fields§
§filled: bool2026-09-25: The slot holds an adapter (its name is not empty).
ref_count: usize2026-09-25: In-flight sequences; 0 means evictable.
last_used: u642026-09-25: Larger means more recently used.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SlotView
impl RefUnwindSafe for SlotView
impl Send for SlotView
impl Sync for SlotView
impl Unpin for SlotView
impl UnwindSafe for SlotView
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