pub trait RegistryRead: Send + Sync {
// Required method
fn resolve(&self, repo_id: &str) -> Option<RepoRecord>;
}Expand description
The sync read side of the family adapter pair — the advertisement
path’s hot read (the alkcall OwnershipProvider posture, POC-R’s
validated shape).
Resolve serves in-memory state: no await, no round trip, no backing
I/O (the coherence contract’s hot path). A None return is
definitive — implementations cache/present the whole record table,
so a miss is not a “not in my cache, go ask the store” signal.
Required Methods§
Sourcefn resolve(&self, repo_id: &str) -> Option<RepoRecord>
fn resolve(&self, repo_id: &str) -> Option<RepoRecord>
Resolve a repo id to its record; None is a definitive miss.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".