pub async fn new(settings: ClientSettings) -> Result<Self, Box<dyn std::error::Error>> {
        let client = GrpcClient::create(settings.clone()).await?;

        Ok(Client { client, settings })
    }
/// Creates a gRPC client to an EventStoreDB database.
Creates a gRPC client to an EventStoreDB database.
Creates a gRPC client to an EventStoreDB database .
pub async fn new(settings: ClientSettings) -> Result<Self, Box<dyn std::error::Error>> {
        let client = GrpcClient::create(settings.clone()).await?;
        Ok(Client { client, settings })
    }
pub async fn new ( settings : ClientSettings ) -> Result < Self , Box < dyn std :: error :: Error > > { let client = GrpcClient :: create ( settings . clone ( ) ) . await ? ; Ok ( Client { client , settings } ) }
Creates a gRPC client to an EventStoreDB database.
Creates a gRPC client to an EventStoreDB database .
settings
ClientSettings
settings
ClientSettings