pub fn list_index_names_with_session(
        &self,
        session: &mut ClientSession,
    ) -> Result<Vec<String>> {
        RUNTIME.block_on(
            self.async_collection
                .list_index_names_with_session(&mut session.async_client_session),
        )
    }
/// Gets the names of all indexes on the collection using the provided `ClientSession`.
Gets the names of all indexes on the collection using the provided `ClientSession`.
Gets the names of all indexes on the collection using the provided ` ClientSession ` .
pub fn list_index_names_with_session(
        &self,
        session: &mut ClientSession,
    ) -> Result<Vec<String>> {
        RUNTIME.block_on(
            self.async_collection
                .list_index_names_with_session(&mut session.async_client_session),
        )
    }
pub fn list_index_names_with_session ( & self , session : & mut ClientSession , ) -> Result < Vec < String > > { RUNTIME . block_on ( self . async_collection . list_index_names_with_session ( & mut session . async_client_session ) , ) }
Gets the names of all indexes on the collection using the provided `ClientSession`.
Gets the names of all indexes on the collection using the provided ` ClientSession ` .
&self
session
&mut ClientSession
&self
session
&mut ClientSession