pub enum RuntimePreference {
Auto,
Native,
External,
Heuristic,
Imported,
}Expand description
General runtime preference for domain APIs.
Variants§
Auto
Choose the best available runtime.
Native
Prefer native execution.
External
Prefer external execution.
Heuristic
Force heuristic execution.
Imported
Use imported predictions.
Trait Implementations§
Source§impl Clone for RuntimePreference
impl Clone for RuntimePreference
Source§fn clone(&self) -> RuntimePreference
fn clone(&self) -> RuntimePreference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RuntimePreference
impl Debug for RuntimePreference
Source§impl<'de> Deserialize<'de> for RuntimePreference
impl<'de> Deserialize<'de> for RuntimePreference
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
impl Eq for RuntimePreference
Source§impl PartialEq for RuntimePreference
impl PartialEq for RuntimePreference
Source§fn eq(&self, other: &RuntimePreference) -> bool
fn eq(&self, other: &RuntimePreference) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimePreference
impl Serialize for RuntimePreference
impl StructuralPartialEq for RuntimePreference
Auto Trait Implementations§
impl Freeze for RuntimePreference
impl RefUnwindSafe for RuntimePreference
impl Send for RuntimePreference
impl Sync for RuntimePreference
impl Unpin for RuntimePreference
impl UnsafeUnpin for RuntimePreference
impl UnwindSafe for RuntimePreference
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