pub enum PvClockCommand {
Suspend,
Resume,
}Expand description
Message for communicating a suspend or resume to the virtio-pvclock device.
Variants§
Trait Implementations§
Source§impl Clone for PvClockCommand
impl Clone for PvClockCommand
Source§fn clone(&self) -> PvClockCommand
fn clone(&self) -> PvClockCommand
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PvClockCommand
impl Debug for PvClockCommand
Source§impl<'de> Deserialize<'de> for PvClockCommand
impl<'de> Deserialize<'de> for PvClockCommand
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 PvClockCommand
impl RefUnwindSafe for PvClockCommand
impl Send for PvClockCommand
impl Sync for PvClockCommand
impl Unpin for PvClockCommand
impl UnwindSafe for PvClockCommand
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