Skip to main content

Rdf12ContainerAccess

Trait Rdf12ContainerAccess 

Source
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§

Source

type ContainerIri<'a>: AsRef<str> + Send + Sync
where Self: 'a,

Borrowed or shared bounded IRI metadata, without requiring a string clone.

Required Methods§

Source

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".

Implementors§