pub enum ManagedRuntimeKind {
Python,
Node,
}Expand description
Managed child runtime kind that Lua can invoke through vulcan.runtime.*.
Lua 可通过 vulcan.runtime.* 调用的受管子运行时类型。
Variants§
Python
Managed Python runtime backed by a host-provided CPython bundle. 由宿主提供的 CPython 包支撑的受管 Python 运行时。
Node
Managed Node.js runtime backed by a host-provided Node bundle. 由宿主提供的 Node 包支撑的受管 Node.js 运行时。
Implementations§
Trait Implementations§
Source§impl Clone for ManagedRuntimeKind
impl Clone for ManagedRuntimeKind
Source§fn clone(&self) -> ManagedRuntimeKind
fn clone(&self) -> ManagedRuntimeKind
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 moreimpl Copy for ManagedRuntimeKind
Source§impl Debug for ManagedRuntimeKind
impl Debug for ManagedRuntimeKind
Source§impl<'de> Deserialize<'de> for ManagedRuntimeKind
impl<'de> Deserialize<'de> for ManagedRuntimeKind
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 ManagedRuntimeKind
Source§impl PartialEq for ManagedRuntimeKind
impl PartialEq for ManagedRuntimeKind
Source§impl Serialize for ManagedRuntimeKind
impl Serialize for ManagedRuntimeKind
impl StructuralPartialEq for ManagedRuntimeKind
Auto Trait Implementations§
impl Freeze for ManagedRuntimeKind
impl RefUnwindSafe for ManagedRuntimeKind
impl Send for ManagedRuntimeKind
impl Sync for ManagedRuntimeKind
impl Unpin for ManagedRuntimeKind
impl UnsafeUnpin for ManagedRuntimeKind
impl UnwindSafe for ManagedRuntimeKind
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request