You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pub(crate)fninto_hello_reply(self) -> Result<HelloReply>{matchself.body::<CommandResponse<HelloCommandResponse>>(){Ok(response)if response.is_success() => {let server_address = self.source_address().clone();let cluster_time = response.cluster_time().cloned();Ok(HelloReply{
server_address,command_response: response.body,
cluster_time,raw_command_response:self.into_raw_document_buf(),})},Ok(_) => {// Handle the case where the response is Ok but does not meet is_success conditionErr(ErrorKind::InvalidResponse{message:String::from("The command response was not successful.")}.into())},Err(err0) => matchself.body::<CommandResponse<CommandErrorBody>>(){Ok(command_error_body) => Err(Error::new(ErrorKind::Command(command_error_body.body.command_error),
command_error_body.body.error_labels,)),Err(err1) => Err(ErrorKind::InvalidResponse{message:format!("invalid server response: {err0:?}\nbody: {:?}", self.raw.to_document())}.into()),},}}
Versions/Environment
What version of Rust are you using?
What operating system are you using?
What versions of the driver and its dependencies are you using?
What version of MongoDB are you using? (Check with the MongoDB shell using
db.version()
)What is your MongoDB topology (standalone, replica set, sharded cluster, serverless)?
Describe the bug
connectionId
expected to bei64
but isDouble
To Reproduce
The text was updated successfully, but these errors were encountered: