pub enum PvClockCommandResponse {
Ok,
Resumed {
total_suspended_ticks: u64,
},
DeviceInactive,
Err(Error),
}Expand description
Message used by virtio-pvclock to communicate command results.
Variants§
Trait Implementations§
Source§impl Debug for PvClockCommandResponse
impl Debug for PvClockCommandResponse
Source§impl<'de> Deserialize<'de> for PvClockCommandResponse
impl<'de> Deserialize<'de> for PvClockCommandResponse
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
Auto Trait Implementations§
impl Freeze for PvClockCommandResponse
impl RefUnwindSafe for PvClockCommandResponse
impl Send for PvClockCommandResponse
impl Sync for PvClockCommandResponse
impl Unpin for PvClockCommandResponse
impl UnwindSafe for PvClockCommandResponse
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