use std::{future::Future, io::Result};
use tokio::net::{UnixListener, UnixStream, unix::SocketAddr};
impl super::Listener for UnixListener {
type Io = UnixStream;
type Addr = SocketAddr;
fn accept(&self) -> impl Future<Output = Result<(Self::Io, Self::Addr)>> + Send {
Self::accept(self)
}
fn local_addr(&self) -> Result<Self::Addr> {
Self::local_addr(self)
}
}