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