[−][src]Struct multicast_socket::MulticastSocket
Implementations
impl MulticastSocket
[src]
pub fn all_interfaces(multicast_address: SocketAddrV4) -> Result<Self>
[src]
pub fn with_options(
multicast_address: SocketAddrV4,
interfaces: Vec<Ipv4Addr>,
options: MulticastOptions
) -> Result<Self>
[src]
multicast_address: SocketAddrV4,
interfaces: Vec<Ipv4Addr>,
options: MulticastOptions
) -> Result<Self>
impl MulticastSocket
[src]
pub fn receive(&self) -> Result<Message>
[src]
pub fn send(&self, buf: &[u8], interface: &Interface) -> Result<usize>
[src]
pub fn broadcast(&self, buf: &[u8]) -> Result<()>
[src]
Auto Trait Implementations
impl RefUnwindSafe for MulticastSocket
impl Send for MulticastSocket
impl Sync for MulticastSocket
impl Unpin for MulticastSocket
impl UnwindSafe for MulticastSocket
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,
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.
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>,