pub enum DeviceControlResponse {
Ok,
Err(Error),
}Expand description
Response to a DeviceControlRequest.
Variants§
Trait Implementations§
Source§impl Debug for DeviceControlResponse
impl Debug for DeviceControlResponse
Source§impl<'de> Deserialize<'de> for DeviceControlResponse
impl<'de> Deserialize<'de> for DeviceControlResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DeviceControlResponse
impl Display for DeviceControlResponse
Source§impl From<DeviceControlResponse> for VmResponse
impl From<DeviceControlResponse> for VmResponse
Source§fn from(response: DeviceControlResponse) -> Self
fn from(response: DeviceControlResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeviceControlResponse
impl RefUnwindSafe for DeviceControlResponse
impl Send for DeviceControlResponse
impl Sync for DeviceControlResponse
impl Unpin for DeviceControlResponse
impl UnwindSafe for DeviceControlResponse
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