Searched refs:ModifyUsbError (Results 1 – 1 of 1) sorted by relevance
27 pub enum ModifyUsbError { enum38 pub type ModifyUsbResult<T> = std::result::Result<T, ModifyUsbError>;61 .map_err(|e| ModifyUsbError::FailedToOpenDevice(dev_path.into(), e))?; in do_usb_attach()65 handle_request(&request, socket_path).map_err(|_| ModifyUsbError::SocketFailed)?; in do_usb_attach()68 r => Err(ModifyUsbError::UnexpectedResponse(r)), in do_usb_attach()78 handle_request(&request, socket_path).map_err(|_| ModifyUsbError::SocketFailed)?; in do_usb_detach()81 r => Err(ModifyUsbError::UnexpectedResponse(r)), in do_usb_detach()94 handle_request(&request, socket_path).map_err(|_| ModifyUsbError::SocketFailed)?; in do_usb_list()97 r => Err(ModifyUsbError::UnexpectedResponse(r)), in do_usb_list()