mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 14:36:16 +01:00
Create concurrent TCP handle and implement RSD for non-lifetime structs
This commit is contained in:
@@ -35,7 +35,7 @@ pub unsafe extern "C" fn adapter_connect(
|
||||
}
|
||||
|
||||
let adapter = unsafe { &mut (*adapter_handle).0 };
|
||||
let res = RUNTIME.block_on(async move { AdapterStream::connect(adapter, port).await });
|
||||
let res = RUNTIME.block_on(async move { adapter.connect(port).await });
|
||||
|
||||
match res {
|
||||
Ok(r) => {
|
||||
|
||||
Reference in New Issue
Block a user