pub struct RuntimeKind(pub String);Expand description
An open runtime-kind vocabulary.
A runtime requirement names the kind of runtime a state needs; the set of kinds is owned by the host, not by this engine, so any host-defined kind (an interpreter, a container profile, a remote executor family) is expressible. The value is the wire spelling of the kind; comparison is by string equality.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for RuntimeKind
impl Clone for RuntimeKind
Source§fn clone(&self) -> RuntimeKind
fn clone(&self) -> RuntimeKind
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 RuntimeKind
impl Debug for RuntimeKind
Source§impl Default for RuntimeKind
impl Default for RuntimeKind
Source§fn default() -> RuntimeKind
fn default() -> RuntimeKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeKind
impl<'de> Deserialize<'de> for RuntimeKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RuntimeKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RuntimeKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RuntimeKind
impl Display for RuntimeKind
impl Eq for RuntimeKind
Source§impl From<&str> for RuntimeKind
impl From<&str> for RuntimeKind
Source§fn from(kind: &str) -> RuntimeKind
fn from(kind: &str) -> RuntimeKind
Converts to this type from the input type.
Source§impl From<String> for RuntimeKind
impl From<String> for RuntimeKind
Source§fn from(kind: String) -> RuntimeKind
fn from(kind: String) -> RuntimeKind
Converts to this type from the input type.
Source§impl Hash for RuntimeKind
impl Hash for RuntimeKind
Source§impl Ord for RuntimeKind
impl Ord for RuntimeKind
Source§fn cmp(&self, other: &RuntimeKind) -> Ordering
fn cmp(&self, other: &RuntimeKind) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RuntimeKind
impl PartialEq for RuntimeKind
Source§impl PartialOrd for RuntimeKind
impl PartialOrd for RuntimeKind
Source§impl Serialize for RuntimeKind
impl Serialize for RuntimeKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RuntimeKind
Auto Trait Implementations§
impl Forget for RuntimeKind
impl Freeze for RuntimeKind
impl Move for RuntimeKind
impl RefUnwindSafe for RuntimeKind
impl Send for RuntimeKind
impl Sync for RuntimeKind
impl Unpin for RuntimeKind
impl UnsafeUnpin for RuntimeKind
impl UnwindSafe for RuntimeKind
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.