pub trait MulticastV4: ErrorType {
// Required methods
async fn join_v4(
&mut self,
multicast_addr: Ipv4Addr,
interface: Ipv4Addr,
) -> Result<(), Self::Error>;
async fn leave_v4(
&mut self,
multicast_addr: Ipv4Addr,
interface: Ipv4Addr,
) -> Result<(), Self::Error>;
}Expand description
Re-export the edge-nal crate
Required Methods§
async fn join_v4( &mut self, multicast_addr: Ipv4Addr, interface: Ipv4Addr, ) -> Result<(), Self::Error>
async fn leave_v4( &mut self, multicast_addr: Ipv4Addr, interface: Ipv4Addr, ) -> Result<(), Self::Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".