tokio-multicast 0.7.2

Small Tokio helpers for UDP multicast send/receive.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::net::Ipv4Addr;

#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub enum Interface {
    V4(Ipv4Addr),
    V6(u32),
    Name(String),
}

#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct InterfaceId(pub u32);