pub struct SharedPackages { /* private fields */ }Expand description
What every target of one daemon shares about the one package directory they all use: which trees this process vouches for, and who may touch them.
Per target, one target’s reinstall replaces the tree another target recorded, whose next launch finds it changed and reinstalls in turn: on a host serving two targets, every switch between them was a full download.
Implementations§
Sourcepub fn last_check(&self) -> LastCheck
pub fn last_check(&self) -> LastCheck
For each target’s PackageCache: the published version is one fact,
so one target’s check spares the others theirs, and each check holds
every copy on this host back.
Trait Implementations§
Auto Trait Implementations§
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