pub enum BundleRuntime {
Mesofact {
version: String,
},
SelfContained,
}Expand description
Which runtime serves a bundle — the runtime = "..." manifest field.
Serialized as a single string: "self" for a bundle that ships its own
bins/<triple>/serve, or "mesofact/<version>" for a vanilla bundle that
resolves the stock mesofact serve runtime from the node’s runtime cache.
Variants§
Mesofact
Vanilla: resolve the stock mesofact serve runtime asset of this
version from the node cache. No binaries in the bundle.
SelfContained
Custom: the bundle carries bins/<triple>/serve and is served by its
own binary. No node runtime asset is resolved.
Implementations§
Source§impl BundleRuntime
impl BundleRuntime
Trait Implementations§
Source§impl Clone for BundleRuntime
impl Clone for BundleRuntime
Source§fn clone(&self) -> BundleRuntime
fn clone(&self) -> BundleRuntime
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 BundleRuntime
impl Debug for BundleRuntime
Source§impl<'de> Deserialize<'de> for BundleRuntime
impl<'de> Deserialize<'de> for BundleRuntime
Source§fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BundleRuntime
Source§impl PartialEq for BundleRuntime
impl PartialEq for BundleRuntime
Source§impl Serialize for BundleRuntime
impl Serialize for BundleRuntime
impl StructuralPartialEq for BundleRuntime
Auto Trait Implementations§
impl Freeze for BundleRuntime
impl RefUnwindSafe for BundleRuntime
impl Send for BundleRuntime
impl Sync for BundleRuntime
impl Unpin for BundleRuntime
impl UnsafeUnpin for BundleRuntime
impl UnwindSafe for BundleRuntime
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,
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.