pub trait SnapshotBoundService:
Any
+ Send
+ Sync {
// Required method
fn source_snapshots(&self) -> &[SourceSnapshot];
}Expand description
Trusted service that declares the immutable source snapshots it can resolve.
Session registration validates these identities against the session before exposing the service to evaluation. A service may cover a subset of a multi-source session, but every declared binding must match exactly.
Required Methods§
Sourcefn source_snapshots(&self) -> &[SourceSnapshot]
fn source_snapshots(&self) -> &[SourceSnapshot]
Exact source snapshots used to construct this service.