Enum qapi_qmp::HmatCacheWritePolicy
source · pub enum HmatCacheWritePolicy {
none,
write_back,
write_through,
}
Variants§
Trait Implementations§
source§impl Clone for HmatCacheWritePolicy
impl Clone for HmatCacheWritePolicy
source§fn clone(&self) -> HmatCacheWritePolicy
fn clone(&self) -> HmatCacheWritePolicy
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 HmatCacheWritePolicy
impl Debug for HmatCacheWritePolicy
source§impl<'de> Deserialize<'de> for HmatCacheWritePolicy
impl<'de> Deserialize<'de> for HmatCacheWritePolicy
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 HmatCacheWritePolicy
impl Enum for HmatCacheWritePolicy
source§impl FromStr for HmatCacheWritePolicy
impl FromStr for HmatCacheWritePolicy
source§impl Hash for HmatCacheWritePolicy
impl Hash for HmatCacheWritePolicy
source§impl Ord for HmatCacheWritePolicy
impl Ord for HmatCacheWritePolicy
source§fn cmp(&self, other: &HmatCacheWritePolicy) -> Ordering
fn cmp(&self, other: &HmatCacheWritePolicy) -> 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 HmatCacheWritePolicy
impl PartialEq for HmatCacheWritePolicy
source§impl PartialOrd for HmatCacheWritePolicy
impl PartialOrd for HmatCacheWritePolicy
source§impl Serialize for HmatCacheWritePolicy
impl Serialize for HmatCacheWritePolicy
impl Copy for HmatCacheWritePolicy
impl Eq for HmatCacheWritePolicy
impl StructuralPartialEq for HmatCacheWritePolicy
Auto Trait Implementations§
impl Freeze for HmatCacheWritePolicy
impl RefUnwindSafe for HmatCacheWritePolicy
impl Send for HmatCacheWritePolicy
impl Sync for HmatCacheWritePolicy
impl Unpin for HmatCacheWritePolicy
impl UnwindSafe for HmatCacheWritePolicy
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
)