pub struct MulticastReader { /* private fields */ }Expand description
is reader for multicast. Reads the UDP packet multicasted from writer. Each packet is a message.
Implementations§
Source§impl MulticastReader
impl MulticastReader
Sourcepub fn new(addr: SocketAddrV4) -> Result<MulticastReader>
pub fn new(addr: SocketAddrV4) -> Result<MulticastReader>
returns a new instance of MulticastReader.
Binds to addr.
Trait Implementations§
Source§impl Debug for MulticastReader
impl Debug for MulticastReader
Source§impl Reader for MulticastReader
impl Reader for MulticastReader
Auto Trait Implementations§
impl Freeze for MulticastReader
impl RefUnwindSafe for MulticastReader
impl Send for MulticastReader
impl Sync for MulticastReader
impl Unpin for MulticastReader
impl UnwindSafe for MulticastReader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more