Enum qapi_qmp::RebootAction
source · pub enum RebootAction {
reset,
shutdown,
}
Variants§
Trait Implementations§
source§impl Clone for RebootAction
impl Clone for RebootAction
source§fn clone(&self) -> RebootAction
fn clone(&self) -> RebootAction
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 RebootAction
impl Debug for RebootAction
source§impl<'de> Deserialize<'de> for RebootAction
impl<'de> Deserialize<'de> for RebootAction
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 Enum for RebootAction
impl Enum for RebootAction
source§impl FromStr for RebootAction
impl FromStr for RebootAction
source§impl Hash for RebootAction
impl Hash for RebootAction
source§impl Ord for RebootAction
impl Ord for RebootAction
source§fn cmp(&self, other: &RebootAction) -> Ordering
fn cmp(&self, other: &RebootAction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RebootAction
impl PartialEq for RebootAction
source§impl PartialOrd for RebootAction
impl PartialOrd for RebootAction
source§impl Serialize for RebootAction
impl Serialize for RebootAction
impl Copy for RebootAction
impl Eq for RebootAction
impl StructuralPartialEq for RebootAction
Auto Trait Implementations§
impl Freeze for RebootAction
impl RefUnwindSafe for RebootAction
impl Send for RebootAction
impl Sync for RebootAction
impl Unpin for RebootAction
impl UnwindSafe for RebootAction
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)