pub struct TcpSocket {
fd: usize,
}Fields§
§fd: usizeImplementations§
Trait Implementations§
Source§impl Socket<Strat9Runtime> for TcpSocket
impl Socket<Strat9Runtime> for TcpSocket
Source§fn split(&mut self) -> (TcpReadHalf, TcpWriteHalf)
fn split(&mut self) -> (TcpReadHalf, TcpWriteHalf)
Implements split.
Source§type ReadHalf<'a> = TcpReadHalf
type ReadHalf<'a> = TcpReadHalf
The “read” half of the socket
Source§type WriteHalf<'a> = TcpWriteHalf
type WriteHalf<'a> = TcpWriteHalf
The “write” half of the socket
Auto Trait Implementations§
impl Freeze for TcpSocket
impl RefUnwindSafe for TcpSocket
impl Send for TcpSocket
impl Sync for TcpSocket
impl Unpin for TcpSocket
impl UnsafeUnpin for TcpSocket
impl UnwindSafe for TcpSocket
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more