pub trait ManifestNodeSource {
// Required method
fn node_bytes(&self, hash: &ContentHash) -> Option<&[u8]>;
}Expand description
Read access to canonical manifest node bytes, keyed by node address.
The store is content-addressed, so an implementation may be a map, a pack reader, or a network fetcher; nothing here assumes locality.
Required Methods§
fn node_bytes(&self, hash: &ContentHash) -> Option<&[u8]>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".