idevice 0.1.60

A Rust library to interact with services on iOS devices.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Jackson Coxson

pub use jktcp::adapter;
pub use jktcp::handle;
pub use jktcp::packets;
pub use jktcp::stream;

use crate::{ReadWrite, provider::RsdProvider};

impl RsdProvider for handle::AdapterHandle {
    async fn connect_to_service_port(
        &mut self,
        port: u16,
    ) -> Result<Box<dyn ReadWrite>, crate::IdeviceError> {
        let s = self.connect(port).await?;
        Ok(Box::new(s))
    }
}