Module uri

Source
Expand description

A limited subset of items from the URI-handling async-coap-uri crate.

See the async-coap-uri crate documentation for more details.

Modules§

escape
URI percent encoding/decoding (“URI Escaping”)

Macros§

rel_ref
Creates a &'static RelRef from a string literal.
uri
Creates a &'static Uri from a string literal.
uri_ref
Creates a &'static UriRef from a string literal.

Structs§

ParseError
URI parse error type.
RelRef
Unsized string-slice type guaranteed to contain a well-formed IETF-RFC3986 relative reference.
RelRefBuf
Sized, heap-allocated string type guaranteed to contain a well-formed IETF-RFC3986 relative-reference.
Uri
Unsized string-slice type guaranteed to contain a well-formed IETF-RFC3986 URI or network path.
UriBuf
Sized, heap-allocated string type guaranteed to contain a well-formed IETF-RFC3986 URI or network path.
UriDisplay
Helper class to assist with using AnyUriRef with formatters; instantiated by AnyUriRef::display.
UriRawComponents
Struct that holds parsed URI components.
UriRef
Unsized string-slice type guaranteed to contain a well-formed IETF-RFC3986 URI-reference.
UriRefBuf
Sized, heap-allocated string type containing either a URI or a relative-reference.

Enums§

ResolveError
Error type for resolving a target URI against a base URI.
UriType
Enum describing the type of a URI.

Traits§

AnyUriRef
Trait for objects that represent logical URI-references. Useful for generic programming.