Trait ReuniteError

Source
pub trait ReuniteError<T>:
    Error
    + Unpin
    + Send
    + Sync
    + 'static
where 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§

Source

fn into_components(self) -> (T::OwnedReadHalf, T::OwnedWriteHalf)

Consumes the error and returns the read half and write half of the socket.

Implementors§