pub trait ReuniteError<T>:
Error
+ Unpin
+ Send
+ Sync
+ 'staticwhere
T: TcpStream,{
// Required method
fn into_components(self) -> (T::OwnedReadHalf, T::OwnedWriteHalf);
}
Expand description
Error indicating that two halves were not from the same socket, and thus could not be reunited.
Required Methods§
Sourcefn into_components(self) -> (T::OwnedReadHalf, T::OwnedWriteHalf)
fn into_components(self) -> (T::OwnedReadHalf, T::OwnedWriteHalf)
Consumes the error and returns the read half and write half of the socket.