Struct wemo::DeviceSearch [] [src]

pub struct DeviceSearch { /* fields omitted */ }

Uses UPNP SSDP to discover WeMo devices on the local network.

Methods

impl DeviceSearch
[src]

DeviceSearch CTOR.

Search for all devices on the network.

Search for a particular device by serial number. Exits early when the target device is found.

Search for a particular device by IP address. Exits early when the target device is found.

Whether search results were found.

Get the results.

Reset the search results and search target, if set.

Trait Implementations

impl Handler for DeviceSearch
[src]

Handle events on the socket.

Manages timeouts: reenqueuing search and overall search timeout.

Invoked when a message has been received via the event loop's channel.

Invoked when EventLoop has been interrupted by a signal interrupt.

Invoked at the end of an event loop tick.