I've hidden the UnixStream
and TcpStream
implementations behind an Either
. Is there an equivalent for the Listener
end of the connection?
No, but you can easily build your own. Just make an enum and put an async fn on it that matches and calls accept
on the inner type.
2 Likes
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.