pub enum HostMemPolicy {
default,
preferred,
bind,
interleave,
}
Variants§
Trait Implementations§
Source§impl Clone for HostMemPolicy
impl Clone for HostMemPolicy
Source§fn clone(&self) -> HostMemPolicy
fn clone(&self) -> HostMemPolicy
Returns a duplicate 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 HostMemPolicy
impl Debug for HostMemPolicy
Source§impl<'de> Deserialize<'de> for HostMemPolicy
impl<'de> Deserialize<'de> for HostMemPolicy
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 HostMemPolicy
impl Enum for HostMemPolicy
Source§impl FromStr for HostMemPolicy
impl FromStr for HostMemPolicy
Source§impl Hash for HostMemPolicy
impl Hash for HostMemPolicy
Source§impl Ord for HostMemPolicy
impl Ord for HostMemPolicy
Source§fn cmp(&self, other: &HostMemPolicy) -> Ordering
fn cmp(&self, other: &HostMemPolicy) -> 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 HostMemPolicy
impl PartialEq for HostMemPolicy
Source§impl PartialOrd for HostMemPolicy
impl PartialOrd for HostMemPolicy
Source§impl Serialize for HostMemPolicy
impl Serialize for HostMemPolicy
impl Copy for HostMemPolicy
impl Eq for HostMemPolicy
impl StructuralPartialEq for HostMemPolicy
Auto Trait Implementations§
impl Freeze for HostMemPolicy
impl RefUnwindSafe for HostMemPolicy
impl Send for HostMemPolicy
impl Sync for HostMemPolicy
impl Unpin for HostMemPolicy
impl UnwindSafe for HostMemPolicy
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