pub(crate) async fn execute_operation<T: Operation>(
        &self,
        op: T,
        session: impl Into<Option<&mut ClientSession>>,
    ) -> Result<T::O> {
        self.execute_operation_with_details(op, session)
            .await
            .map(|details| details.output.operation_output)
    }
/// Execute the given operation.
///
/// Server selection will performed using the criteria specified on the operation, if any, and
/// an implicit session will be created if the operation and write concern are compatible with
/// sessions and an explicit session is not provided.
Execute the given operation.
Server selection will performed using the criteria specified on the operation, if any, and
an implicit session will be created if the operation and write concern are compatible with
sessions and an explicit session is not provided.
Execute the given operation . Server selection will performed using the criteria specified on the operation if any and an implicit session will be created if the operation and write concern are compatible with sessions and an explicit session is not provided .
pub(crate) async fn execute_operation<T: Operation>(
        &self,
        op: T,
        session: impl Into<Option<&mut ClientSession>>,
    ) -> Result<T::O> {
        self.execute_operation_with_details(op, session)
            .await
            .map(|details| details.output.operation_output)
    }
pub ( crate ) async fn execute_operation < T : Operation > ( & self , op : T , session : impl Into < Option < & mut ClientSession > > , ) -> Result < T :: O > { self . execute_operation_with_details ( op , session ) . await . map ( | details | details . output . operation_output ) }
Execute the given operation.
Execute the given operation .
&self
op
T
session
impl Into<Option<&mut ClientSession>>
&self
op
T
session
impl Into<Option<&mut ClientSession>>