Struct ssdp::SSDPReceiver [] [src]

pub struct SSDPReceiver<T> { /* fields omitted */ }

A non-blocking SSDP message receiver.

Methods

impl<T> SSDPReceiver<T> where T: FromRawSSDP + Send + 'static
[src]

Construct a receiver that receives bytes from a number of UdpSockets and tries to construct an object T from them. If a duration is provided, the channel will be shutdown after the specified duration.

Due to implementation details, none of the UdpSockets should be bound to the default route, 0.0.0.0, address.

impl<T> SSDPReceiver<T>
[src]

Non-blocking method that attempts to read a value from the receiver.

Blocking method that reads a value from the receiver until one is available.

Trait Implementations

impl<'a, T> IntoIterator for &'a SSDPReceiver<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<'a, T> IntoIterator for &'a mut SSDPReceiver<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<T> IntoIterator for SSDPReceiver<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more