Module sophia::iri

source · []
Expand description

This module re-exports symbols from sophia_iri.

Modules

Error and result type for IRI resolution.

Implementation of IRI resolution as per [RFC 3987].

Structs

A str satisfying the IRI rule in RFC-3687.

A Box<str> satisfying the IRI-reference rule in RFC-3687.

A str satisfying the IRI rule in RFC-3687.

A Box<str> satisfying the IRI-reference rule in RFC-3687.

Traits

Automatic trait for IsIri, providing cheap conversion to Iri.

Automatic trait for IsIriRef, providing cheap conversion to IriRef.

Marker trait guaranteeing that the underlying str is a valid IRI-reference (i.e. absolute, with an optional fragment identifier)

Marker trait guaranteeing that the underlying str is a valid IRI (i.e. absolute or relative, with an optional fragment identifier)

Functions

Check whether txt is an absolute IRI reference.

Check whether txt is a relative IRI reference.

Check whether txt is a valid (absolute or relative) IRI reference.

Check whether ns and suffix concatenate into a valid (absolute or relative) IRI reference.