pub struct UsbmuxdGuard { /* private fields */ }Expand description
RAII guard that starts the embedded usbmuxd server and tears it down on drop.
Implementations§
Source§impl UsbmuxdGuard
impl UsbmuxdGuard
Sourcepub fn start(progress: ProgressFn<'_>) -> Result<Self>
pub fn start(progress: ProgressFn<'_>) -> Result<Self>
Start the embedded usbmuxd server and point libusbmuxd at it.
Trait Implementations§
Source§impl Drop for UsbmuxdGuard
impl Drop for UsbmuxdGuard
Auto Trait Implementations§
impl !RefUnwindSafe for UsbmuxdGuard
impl !UnwindSafe for UsbmuxdGuard
impl Freeze for UsbmuxdGuard
impl Send for UsbmuxdGuard
impl Sync for UsbmuxdGuard
impl Unpin for UsbmuxdGuard
impl UnsafeUnpin for UsbmuxdGuard
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more