pub enum LuaRuntimeDatabaseProviderMode {
DynamicLibrary,
HostCallback,
SpaceController,
}Expand description
Database access mode used by one host-facing runtime backend. 单个宿主侧运行时后端所使用的数据库访问模式。
Variants§
DynamicLibrary
The library loads and calls the local dynamic-library backend directly. 由库直接加载并调用本地动态库后端。
HostCallback
The library forwards database operations into one host-registered callback bridge. 由库把数据库操作转发给宿主已注册的回调桥接。
SpaceController
The library forwards database operations into one external space controller. 由库把数据库操作转发给外部空间控制器。
Trait Implementations§
Source§impl Clone for LuaRuntimeDatabaseProviderMode
impl Clone for LuaRuntimeDatabaseProviderMode
Source§fn clone(&self) -> LuaRuntimeDatabaseProviderMode
fn clone(&self) -> LuaRuntimeDatabaseProviderMode
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 Default for LuaRuntimeDatabaseProviderMode
impl Default for LuaRuntimeDatabaseProviderMode
Source§fn default() -> LuaRuntimeDatabaseProviderMode
fn default() -> LuaRuntimeDatabaseProviderMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LuaRuntimeDatabaseProviderMode
impl<'de> Deserialize<'de> for LuaRuntimeDatabaseProviderMode
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 PartialEq for LuaRuntimeDatabaseProviderMode
impl PartialEq for LuaRuntimeDatabaseProviderMode
Source§fn eq(&self, other: &LuaRuntimeDatabaseProviderMode) -> bool
fn eq(&self, other: &LuaRuntimeDatabaseProviderMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LuaRuntimeDatabaseProviderMode
impl Eq for LuaRuntimeDatabaseProviderMode
impl StructuralPartialEq for LuaRuntimeDatabaseProviderMode
Auto Trait Implementations§
impl Freeze for LuaRuntimeDatabaseProviderMode
impl RefUnwindSafe for LuaRuntimeDatabaseProviderMode
impl Send for LuaRuntimeDatabaseProviderMode
impl Sync for LuaRuntimeDatabaseProviderMode
impl Unpin for LuaRuntimeDatabaseProviderMode
impl UnsafeUnpin for LuaRuntimeDatabaseProviderMode
impl UnwindSafe for LuaRuntimeDatabaseProviderMode
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> 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