[][src]Enum yooper::ssdp::message::SearchTarget

pub enum SearchTarget {
    All,
    RootDevice,
    UUID(Uuid),
    Device {
        device_type: String,
        version: String,
    },
    Service {
        service_type: String,
        version: String,
    },
    VendorDevice {
        domain_name: String,
        device_type: String,
        version: String,
    },
    VendorService {
        domain_name: String,
        service_type: String,
        version: String,
    },
    Other(String),
}

What kind of control point to search for

Variants

All

Search for all devices and services

RootDevice

Search for root devices only

UUID(Uuid)

Search for a particular device

Device

Search for any device of this type, where device_type is defined by the UPnP forum

Fields of Device

device_type: Stringversion: String
Service

Search for any service of this type, where service_type is defined by the UPnP forum

Fields of Service

service_type: Stringversion: String
VendorDevice

Search for for any device of this type, where device_type is defined by a vendor

Fields of VendorDevice

domain_name: Stringdevice_type: Stringversion: String
VendorService

Search for for any service of this type, where service_type is defined by a vendor

Fields of VendorService

domain_name: Stringservice_type: Stringversion: String
Other(String)

Not everyone plays by the rules. A catch-all for non-standard search types

Trait Implementations

impl Clone for SearchTarget[src]

impl Debug for SearchTarget[src]

impl Default for SearchTarget[src]

impl FromStr for SearchTarget[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for SearchTarget[src]

impl PartialEq<SearchTarget> for SearchTarget[src]

impl StructuralPartialEq for SearchTarget[src]

impl ToString for SearchTarget[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.