pub trait Rdf12ContainerAccess: EntailmentTerms {
type ContainerIri<'a>: AsRef<str> + Send + Sync
where Self: 'a;
// Required method
fn container_property<'a>(
&'a self,
term: &Self::Term,
maximum_iri_bytes: NonZeroU32,
) -> impl Future<Output = Result<Option<Rdf12ContainerProperty<Self::ContainerIri<'a>>>, Self::Error>> + Send;
}Expand description
Authoritative, bounded classification of canonical container-property IRIs.
Required Associated Types§
Required Methods§
Sourcefn container_property<'a>(
&'a self,
term: &Self::Term,
maximum_iri_bytes: NonZeroU32,
) -> impl Future<Output = Result<Option<Rdf12ContainerProperty<Self::ContainerIri<'a>>>, Self::Error>> + Send
fn container_property<'a>( &'a self, term: &Self::Term, maximum_iri_bytes: NonZeroU32, ) -> impl Future<Output = Result<Option<Rdf12ContainerProperty<Self::ContainerIri<'a>>>, Self::Error>> + Send
Return a shared checked descriptor only for this exact appearing IRI key.
Return None for a supported noncontainer term; cache misses reload or fail.
Bound owned IRI metadata before allocation with maximum_iri_bytes, and
report unsupported access/resource failures explicitly through the backend.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".