Enum ssdp::FieldMap[][src]

pub enum FieldMap {
    UPnP(String),
    UUID(String),
    URN(String),
    Unknown(StringString),
}

Enumerates key value pairs embedded within SSDP header fields.

Variants

The "upnp" key with its associated value.

The "uuid" key with its associated value.

The "urn" key with its associated value.

An undefined key, the key and it's value are returned.

Methods

impl FieldMap
[src]

Breaks a field up into a single key and single value which are separated by a colon and neither of which are empty.

Separation will occur at the first colon encountered.

Breaks a field up into a single key and single value which are separated by a colon and neither of which are empty.

Separation will occur at the first colon encountered.

Trait Implementations

impl Clone for FieldMap
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for FieldMap
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for FieldMap
[src]

impl Hash for FieldMap
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for FieldMap
[src]

Formats the value using the given formatter. Read more

impl Display for FieldMap
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for FieldMap

impl Sync for FieldMap