pub struct PooledTargetKey { /* private fields */ }Expand description
A derived pooled target-dir key. Stable across processes and hosts for the same dimensions.
Implementations§
Source§impl PooledTargetKey
impl PooledTargetKey
Sourcepub fn derive(dims: &PooledTargetDimensions) -> Self
pub fn derive(dims: &PooledTargetDimensions) -> Self
Derive the key from dimensions. Pure and total.
Sourcepub fn pooled_dir_name(&self) -> String
pub fn pooled_dir_name(&self) -> String
The pooled target directory name for this key, e.g.
.rch-pool/<key>. Always filesystem-safe.
Trait Implementations§
Source§impl Clone for PooledTargetKey
impl Clone for PooledTargetKey
Source§impl Debug for PooledTargetKey
impl Debug for PooledTargetKey
impl Eq for PooledTargetKey
Source§impl PartialEq for PooledTargetKey
impl PartialEq for PooledTargetKey
impl StructuralPartialEq for PooledTargetKey
Auto Trait Implementations§
impl Freeze for PooledTargetKey
impl RefUnwindSafe for PooledTargetKey
impl Send for PooledTargetKey
impl Sync for PooledTargetKey
impl Unpin for PooledTargetKey
impl UnsafeUnpin for PooledTargetKey
impl UnwindSafe for PooledTargetKey
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
Compare self to
key and return true if they are equal.