pub struct ProcessPackageCacheOptions {
pub root: Option<PathBuf>,
pub min_free_bytes: u64,
pub max_bytes: u64,
pub max_entries: usize,
pub max_concurrent_acquisitions: usize,
pub max_pending_acquisitions: usize,
pub acquisition_timeout_ms: u64,
pub max_source_entries: usize,
pub source_ttl_ms: u64,
}Expand description
Operator-owned limits for the one package cache shared by all Core clients in this process. Hosted actor inputs cannot override these values.
Fields§
§root: Option<PathBuf>Persistent cache directory. None uses a process-lifetime temporary
directory, which is useful for embedded Core and tests.
min_free_bytes: u64§max_bytes: u64§max_entries: usize§max_concurrent_acquisitions: usize§max_pending_acquisitions: usize§acquisition_timeout_ms: u64§max_source_entries: usize§source_ttl_ms: u64Implementations§
Source§impl ProcessPackageCacheOptions
impl ProcessPackageCacheOptions
pub fn validate(&self) -> Result<(), ClientError>
Trait Implementations§
Source§impl Clone for ProcessPackageCacheOptions
impl Clone for ProcessPackageCacheOptions
Source§impl Debug for ProcessPackageCacheOptions
impl Debug for ProcessPackageCacheOptions
Source§impl Default for ProcessPackageCacheOptions
impl Default for ProcessPackageCacheOptions
impl Eq for ProcessPackageCacheOptions
impl StructuralPartialEq for ProcessPackageCacheOptions
Auto Trait Implementations§
impl Forget for ProcessPackageCacheOptions
impl Freeze for ProcessPackageCacheOptions
impl Move for ProcessPackageCacheOptions
impl RefUnwindSafe for ProcessPackageCacheOptions
impl Send for ProcessPackageCacheOptions
impl Sync for ProcessPackageCacheOptions
impl Unpin for ProcessPackageCacheOptions
impl UnsafeUnpin for ProcessPackageCacheOptions
impl UnwindSafe for ProcessPackageCacheOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.