diff options
author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-08-11 13:58:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 13:58:13 +0200 |
commit | 0a98f9f48ef11f36bb1ed5c8adbe07611916ba0b (patch) | |
tree | f40b5b2def8c68e53bc2114af75a1941cb1c98a2 /embassy-net | |
parent | 0e524247fa4adc524c546b0d073e7061ad6c1b83 (diff) | |
download | embassy-0a98f9f48ef11f36bb1ed5c8adbe07611916ba0b.zip |
net: make TcpIo private.
It's just an implementation detail to share code between Socket, Reader, Writer. It wasn't supposed to be public.
Diffstat (limited to 'embassy-net')
-rw-r--r-- | embassy-net/src/tcp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-net/src/tcp.rs b/embassy-net/src/tcp.rs index 2e276ecd..910772c7 100644 --- a/embassy-net/src/tcp.rs +++ b/embassy-net/src/tcp.rs @@ -181,7 +181,7 @@ impl<'a> Drop for TcpSocket<'a> { // ======================= #[derive(Copy, Clone)] -pub struct TcpIo<'a> { +struct TcpIo<'a> { stack: &'a UnsafeCell<SocketStack>, handle: SocketHandle, } |