Trait coap_handler_implementations::wkc::Record [−][src]
pub trait Record<'a> {
type PathElements: Iterator<Item = &'a &'a str>;
type Attributes: Iterator<Item = &'a Attribute>;
fn path(&self) -> Self::PathElements;
fn rel(&self) -> Option<&'a str>;
fn attributes(&self) -> Self::Attributes;
}Expand description
A entry produced by Reporting, corresponding to a single link in a Link Format file.
Associated Types
type PathElements: Iterator<Item = &'a &'a str>
type Attributes: Iterator<Item = &'a Attribute>
Required methods
fn path(&self) -> Self::PathElements
fn path(&self) -> Self::PathElements
List of path segments (equivalent to Uri-Path option values) leading to the indicated resoruce
Link relation (or None to default to the implicit “hosts”)
Note that the allowed character set is limited compared to full UTF-8 strings.
fn attributes(&self) -> Self::Attributes
fn attributes(&self) -> Self::Attributes
Target attributes of the link