Struct diffusion::MulticastReader [] [src]

pub struct MulticastReader { /* fields omitted */ }

is reader for multicast. Reads the UDP packet multicasted from writer. Each packet is a message.

Methods

impl MulticastReader
[src]

returns a new instance of MulticastReader. Binds to addr.

Trait Implementations

impl Debug for MulticastReader
[src]

Formats the value using the given formatter.

impl Reader for MulticastReader
[src]

returns a message if there is one. And returns any error if it cannot return the message. It returns a Ok(None) if file reader has reached to the end of the file, or there is no new message currently, in which case user should retry. Read more