[−][src]Struct diffusion::MulticastWriter
is writer for multicast.
MulticastWriter
uses the natual UDP packet as message boundary.
Implementations
impl MulticastWriter
[src]
pub fn new(multicast_addr: SocketAddrV4) -> Result<MulticastWriter>
[src]
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 Writer for MulticastWriter
[src]
Auto Trait Implementations
impl RefUnwindSafe for MulticastWriter
[src]
impl Send for MulticastWriter
[src]
impl Sync for MulticastWriter
[src]
impl Unpin for MulticastWriter
[src]
impl UnwindSafe for MulticastWriter
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,