pub type ContentID = Rc<str>;
Expand description

Identifier for content (e.g. package/layer). Not necessarily human readable. For example in RPMs, this may be a full “NEVRA” i.e. name-epoch:version-release.architecture e.g. kernel-6.2-2.fc38.aarch64 But that’s not strictly required as this string should only live in memory and not be persisted.

Aliased Type§

struct ContentID { /* private fields */ }

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Rc<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.