net: make TcpIo private.
It's just an implementation detail to share code between Socket, Reader, Writer. It wasn't supposed to be public.
This commit is contained in:
parent
0e524247fa
commit
0a98f9f48e
@ -181,7 +181,7 @@ impl<'a> Drop for TcpSocket<'a> {
|
|||||||
// =======================
|
// =======================
|
||||||
|
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
pub struct TcpIo<'a> {
|
struct TcpIo<'a> {
|
||||||
stack: &'a UnsafeCell<SocketStack>,
|
stack: &'a UnsafeCell<SocketStack>,
|
||||||
handle: SocketHandle,
|
handle: SocketHandle,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user