Expand description
A single-node MongoDB container running as a one-member replica set (required for
transactions/change streams). The Container::with_post_start hook initiates the
replica set and waits for a primary to be elected before start() returns, so
MongoDbGuard::connection_string is always usable immediately after start().
Structs§
- Mongo
DbContainer - A single-node MongoDB container, started as a one-member replica set named
docker-rs. - Mongo
DbGuard - The running guard for a
MongoDbContainer.