Enum rdftk_iri::HostKind [−][src]
Expand description
This type holds the host details in their parsed form. It is an enumeration of the set of valid host representations allowed by the IRI specification.
Variants
Ipv4(Ipv4Addr)
Holds a parsed IPv4 address; e.g. 127.0.0.1
, 192.0.0.10
, 16.38.10.112
.
Ipv6(Ipv6Addr)
Holds a parsed IPv6 address; e.g. [2001:db8::ff00:42:8329]
.
Holds a parsed IP future address; e.g. [v7.2001:db8::ff00:42:8329]
.
DomainName(String)
Holds a validated domain name; e.g. localhost
, example.com
, node01.us.example.org
.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for HostKind
impl UnwindSafe for HostKind
Blanket Implementations
Mutably borrows from an owned value. Read more