Home
last modified time | relevance | path

Searched refs:ModifyUsbError (Results 1 – 1 of 1) sorted by relevance

/external/crosvm/vm_control/src/
Dclient.rs27 pub enum ModifyUsbError { enum
38 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()