use String;
use Vec;
use crateBytes;
/// A read-only set of pre-computed cache entries shipped with an application.
///
/// Lookups use the same two coordinates as the local cache: the namespace the
/// persistence layer computes (`<name>/<version>/<segments>`) and the
/// serialized key bytes. A bundle therefore needs no path rewriting, and
/// several bundles in different formats can be installed side by side.
///
/// A bundle is an *import* format, not a runtime one: [`import`](super::import)
/// copies its entries into the local storage once, and nothing consults it
/// afterwards. Runtime lookups only ever touch
/// [`Storage`](crate::persistence::Storage).
///
/// Reads hand back [`Bytes`], which a format can serve as a zero-copy window
/// into its own storage: an embedded bundle returns a view of its blob rather
/// than a copy.
///
/// All methods degrade silently: a miss on any failure.