pub struct EmbeddedRuntimeHost {
pub core: RuntimeCoreConfig,
pub session_store_factory: Option<Arc<dyn SessionStoreFactory>>,
}Expand description
Base host shape for embedded runtimes.
Fields§
§core: RuntimeCoreConfig§session_store_factory: Option<Arc<dyn SessionStoreFactory>>Implementations§
Source§impl EmbeddedRuntimeHost
impl EmbeddedRuntimeHost
pub fn new(core: RuntimeCoreConfig) -> Self
pub fn with_session_store_factory( self, session_store_factory: Arc<dyn SessionStoreFactory>, ) -> Self
Trait Implementations§
Source§impl Clone for EmbeddedRuntimeHost
impl Clone for EmbeddedRuntimeHost
Source§fn clone(&self) -> EmbeddedRuntimeHost
fn clone(&self) -> EmbeddedRuntimeHost
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 moreAuto Trait Implementations§
impl Freeze for EmbeddedRuntimeHost
impl !RefUnwindSafe for EmbeddedRuntimeHost
impl Send for EmbeddedRuntimeHost
impl Sync for EmbeddedRuntimeHost
impl Unpin for EmbeddedRuntimeHost
impl UnsafeUnpin for EmbeddedRuntimeHost
impl !UnwindSafe for EmbeddedRuntimeHost
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