Crate peertalk

Source
Expand description

Crate to handle establishing network connections over USB to apple devices

Structs§

DeviceAttachedInfo
Info about an attached device
DeviceListener
Listens for iOS devices connecting over USB via Apple Mobile Support/usbmuxd

Enums§

DeviceConnectionType
How device is connected
DeviceEvent
Event that can occur on device listener
Error
Error for device listener etc
ProductType
Product type of connected device, which typically is an iPad, iPhone, or iPod touch
ProtocolError
Error type for any errors with talking to USB muxer/device support

Functions§

connect_to_device
Creates a network connection over USB to given device & port

Type Aliases§

DeviceId
Device ID type, currently u64 to hold max value stored in plist
Result
Alias for any of this crate’s results
UsbSocket
Aliases UsbSocket to std::os::unix::net::UnixStream on linux/macOS