[][src]Enum ssdp_client::SearchTarget

pub enum SearchTarget {
    All,
    RootDevice,
    UUID(String),
    URN(URN),
    Custom(StringString),
}

Specify what SSDP control points to search for

Variants

All

Search for all devices and services.

RootDevice

Search for root devices only.

UUID(String)

unique identifier for a device

URN(URN)

e.g. schemas-upnp-org:device:ZonePlayer:1 or schemas-sonos-com:service:Queue:1

Custom(StringString)

e.g. roku:ecp

Trait Implementations

impl Clone for SearchTarget[src]

impl Debug for SearchTarget[src]

impl Display for SearchTarget[src]

impl Eq for SearchTarget[src]

impl FromStr for SearchTarget[src]

type Err = ParseSearchTargetError

The associated error which can be returned from parsing.

impl Into<SearchTarget> for URN[src]

impl PartialEq<SearchTarget> for SearchTarget[src]

impl StructuralEq for SearchTarget[src]

impl StructuralPartialEq 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.