pub struct MemoryBusBuilder { /* private fields */ }Expand description
Builder for MemoryBus instances.
Implementations§
Source§impl MemoryBusBuilder
impl MemoryBusBuilder
Sourcepub fn new(volatile_config: VolatileConfig) -> Self
pub fn new(volatile_config: VolatileConfig) -> Self
Starts a new builder using the supplied volatile config.
Sourcepub fn with_journal(self, journal: Arc<dyn Journal>) -> Self
pub fn with_journal(self, journal: Arc<dyn Journal>) -> Self
Installs the journal implementation. This is required before calling build.
Sourcepub fn with_vector_store(self, store: Arc<dyn VectorStoreClient>) -> Self
pub fn with_vector_store(self, store: Arc<dyn VectorStoreClient>) -> Self
Installs an optional vector store client.