mirror of
https://github.com/rustdesk/hbb_common.git
synced 2025-08-17 00:55:39 +00:00
Merge pull request #304 from fufesou/refact/suppress_warns
refact: suppress warns
This commit is contained in:
commit
57c8a23ab9
@ -30,8 +30,8 @@ pub struct WsFramedStream {
|
|||||||
impl WsFramedStream {
|
impl WsFramedStream {
|
||||||
pub async fn new<T: AsRef<str>>(
|
pub async fn new<T: AsRef<str>>(
|
||||||
url: T,
|
url: T,
|
||||||
local_addr: Option<SocketAddr>,
|
_local_addr: Option<SocketAddr>,
|
||||||
proxy_conf: Option<&Socks5Server>,
|
_proxy_conf: Option<&Socks5Server>,
|
||||||
ms_timeout: u64,
|
ms_timeout: u64,
|
||||||
) -> ResultType<Self> {
|
) -> ResultType<Self> {
|
||||||
let url_str = url.as_ref();
|
let url_str = url.as_ref();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user