pub fn drop_index_with_session(
        &self,
        name: impl AsRef<str>,
        options: impl Into<Option<DropIndexOptions>>,
        session: &mut ClientSession,
    ) -> Result<()> {
        RUNTIME.block_on(self.async_collection.drop_index_with_session(
            name,
            options,
            &mut session.async_client_session,
        ))
    }
/// Drops the index specified by `name` from this collection using the provided `ClientSession`.
Drops the index specified by `name` from this collection using the provided `ClientSession`.
Drops the index specified by ` name ` from this collection using the provided ` ClientSession ` .
pub fn drop_index_with_session(
        &self,
        name: impl AsRef<str>,
        options: impl Into<Option<DropIndexOptions>>,
        session: &mut ClientSession,
    ) -> Result<()> {
        RUNTIME.block_on(self.async_collection.drop_index_with_session(
            name,
            options,
            &mut session.async_client_session,
        ))
    }
pub fn drop_index_with_session ( & self , name : impl AsRef < str > , options : impl Into < Option < DropIndexOptions > > , session : & mut ClientSession , ) -> Result < ( ) > { RUNTIME . block_on ( self . async_collection . drop_index_with_session ( name , options , & mut session . async_client_session , ) ) }
Drops the index specified by `name` from this collection using the provided `ClientSession`.
Drops the index specified by ` name ` from this collection using the provided ` ClientSession ` .
&self
name
impl AsRef<str>
options
impl Into<Option<DropIndexOptions>>
session
&mut ClientSession
&self
name
impl AsRef<str>
options
impl Into<Option<DropIndexOptions>>
session
&mut ClientSession