pub struct CachePorts {
pub catalog: Arc<dyn DownloadCatalog>,
pub fetcher: Arc<dyn PackageFetcher>,
pub backoff: Arc<dyn Backoff>,
pub clock: Arc<dyn Clock>,
}Expand description
The ports PackageCache reaches the world through.
Fields§
§catalog: Arc<dyn DownloadCatalog>§fetcher: Arc<dyn PackageFetcher>§backoff: Arc<dyn Backoff>§clock: Arc<dyn Clock>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CachePorts
impl !UnwindSafe for CachePorts
impl Freeze for CachePorts
impl Send for CachePorts
impl Sync for CachePorts
impl Unpin for CachePorts
impl UnsafeUnpin for CachePorts
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