fix: Add qualified imports
This commit is contained in:
parent
2087561003
commit
993875e11f
1 changed files with 3 additions and 3 deletions
|
@ -143,19 +143,19 @@ impl<'a, D: Driver> UdpSocket<'a, D> {
|
|||
impl<'a, D: Driver + smoltcp::phy::Device + 'static> UdpSocket<'a, D> {
|
||||
pub fn join_multicast_group<T>(&self, addr: T) -> Result<bool, smoltcp::iface::MulticastError>
|
||||
where
|
||||
T: Into<IpAddress>,
|
||||
T: Into<smoltcp::wire::IpAddress>,
|
||||
{
|
||||
self.stack.join_multicast_group(addr)
|
||||
}
|
||||
|
||||
pub fn leave_multicast_group<T>(&self, addr: T) -> Result<bool, smoltcp::iface::MulticastError>
|
||||
where
|
||||
T: Into<IpAddress>,
|
||||
T: Into<smoltcp::wire::IpAddress>,
|
||||
{
|
||||
self.stack.leave_multicast_group(addr)
|
||||
}
|
||||
|
||||
pub fn has_multicast_group<T: Into<IpAddress>>(&self, addr: T) -> bool {
|
||||
pub fn has_multicast_group<T: Into<smoltcp::wire::IpAddress>>(&self, addr: T) -> bool {
|
||||
self.stack.has_multicast_group(addr)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue