pub struct ServerlessCacheEvictionPlan {
pub evict: Vec<PathBuf>,
pub bytes_after_eviction: u64,
}Fields§
§evict: Vec<PathBuf>§bytes_after_eviction: u64Implementations§
Source§impl ServerlessCacheEvictionPlan
impl ServerlessCacheEvictionPlan
pub fn plan(entries: &[ServerlessCacheEntry], max_bytes: u64) -> Self
Trait Implementations§
Source§impl Clone for ServerlessCacheEvictionPlan
impl Clone for ServerlessCacheEvictionPlan
Source§impl Debug for ServerlessCacheEvictionPlan
impl Debug for ServerlessCacheEvictionPlan
impl Eq for ServerlessCacheEvictionPlan
impl StructuralPartialEq for ServerlessCacheEvictionPlan
Auto Trait Implementations§
impl Forget for ServerlessCacheEvictionPlan
impl Freeze for ServerlessCacheEvictionPlan
impl Move for ServerlessCacheEvictionPlan
impl RefUnwindSafe for ServerlessCacheEvictionPlan
impl Send for ServerlessCacheEvictionPlanwhere
RawVecInner: Send,
impl Sync for ServerlessCacheEvictionPlanwhere
RawVecInner: Sync,
impl Unpin for ServerlessCacheEvictionPlan
impl UnsafeUnpin for ServerlessCacheEvictionPlan
impl UnwindSafe for ServerlessCacheEvictionPlanwhere
RawVecInner: UnwindSafe,
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