Struct diffusion::MulticastWriter [−][src]
pub struct MulticastWriter { /* fields omitted */ }
is writer for multicast.
MulticastWriter
uses the natual UDP packet as message boundary.
Methods
impl MulticastWriter
[src]
impl MulticastWriter
pub fn new(addr: SocketAddrV4) -> Result<MulticastWriter>
[src]
pub fn new(addr: SocketAddrV4) -> Result<MulticastWriter>
returns a new instance of MulticastWriter
.
addr
is the address the sending socket binds to, and also the address that it sends to.
Trait Implementations
impl Debug for MulticastWriter
[src]
impl Debug for MulticastWriter
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Writer for MulticastWriter
[src]
impl Writer for MulticastWriter
Auto Trait Implementations
impl Send for MulticastWriter
impl Send for MulticastWriter
impl Sync for MulticastWriter
impl Sync for MulticastWriter