|
|
|
@ -65,7 +65,7 @@ enum RunOnceResult { |
|
|
|
}
|
|
|
|
|
|
|
|
impl Client {
|
|
|
|
async fn login(
|
|
|
|
pub async fn login(
|
|
|
|
tcp_stream: net::TcpStream,
|
|
|
|
options: ClientOptions,
|
|
|
|
) -> Result<Client, ClientLoginError> {
|
|
|
|
@ -144,7 +144,7 @@ impl Client { |
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
fn run<S>(
|
|
|
|
pub fn run<S>(
|
|
|
|
mut self,
|
|
|
|
mut request_stream: S,
|
|
|
|
) -> impl Stream<Item = Result<ServerResponse, ClientRunError>> + Unpin
|
|
|
|
|