type ConnectResult = Result<TokioIo<TcpStream>, ConnectError>;
Aliased Type§
enum ConnectResult {
Ok(TokioIo<TcpStream>),
Err(ConnectError),
}
Variants§
Ok(TokioIo<TcpStream>)
Contains the success value
Err(ConnectError)
Contains the error value