Expand description
Mechanisms and constants for encoding and decoding IETF-RFC6690 CoAP link-formats.
Structs§
- Link
Attribute Parser - Parsing iterator which parses link attributes for IETF-RFC6690 CoAP link-format processing.
- Link
Attribute Write - Helper for writing link format attributes; created by calling
LinkFormatWrite::link
. - Link
Format Parser - Parsing iterator which parses a string formatted as an IETF-RFC6690 CoAP link-format.
- Link
Format Write - Helper for writing IETF-RFC6690 CoAP link-formats to anything implementing
core::fmt::Write
. - Unquote
- Character iterator which decodes a IETF-RFC2616
quoted-string
. Used byLinkAttributeParser
.
Enums§
- Error
Link Format - Error type for parsing a link format.
Constants§
- LINK_
ATTR_ ANCHOR - Anchor attribute.
- LINK_
ATTR_ CONTENT_ FORMAT - Content-Format Code(s).
- LINK_
ATTR_ ENDPOINT_ NAME - Name of the endpoint, max 63 bytes.
- LINK_
ATTR_ ENDPOINT_ TYPE - Semantic name of the endpoint. Must be less than 63 bytes.
- LINK_
ATTR_ GROUP_ NAME - Name of a group in this RD. Must be less than 63 bytes.
- LINK_
ATTR_ HREFLANG - A hint indicating what the language of the result of dereferencing the link should be.
- LINK_
ATTR_ INTERFACE_ DESCRIPTION - Interface Description Attribute.
- LINK_
ATTR_ MAXIMUM_ SIZE_ ESTIMATE - The estimated maximum size of the fetched resource.
- LINK_
ATTR_ MEDIA - Media Attribute. Used to indicate intended destination medium or media for style information.
- LINK_
ATTR_ OBSERVABLE - Identifies this resource as observable if present.
- LINK_
ATTR_ REGISTRATION_ BASE_ URI - The scheme, address and point and path at which this server is available.
- LINK_
ATTR_ REGISTRATION_ LIFETIME - Lifetime of the registration in seconds. Valid values are between 60-4294967295, inclusive.
- LINK_
ATTR_ REL - Relation Type.
- LINK_
ATTR_ RESOURCE_ TYPE - Resource Type Attribute.
- LINK_
ATTR_ SECTOR - Sector to which this endpoint belongs. Must be less than 63 bytes.
- LINK_
ATTR_ TITLE - Human-readable label describing the resource.
- LINK_
ATTR_ TITLE_ STAR - Human-readable label describing the resource, along with language information.
- LINK_
ATTR_ VALUE - The value of this resource expressed as a human-readable string. Must be less than 63 bytes.