pub fn drop_with_session(
        &self,
        options: impl Into<Option<DropCollectionOptions>>,
        session: &mut ClientSession,
    ) -> Result<()> {
        RUNTIME.block_on(
            self.async_collection
                .drop_with_session(options.into(), &mut session.async_client_session),
        )
    }
/// Drops the collection, deleting all data, users, and indexes stored in it using the provided
/// `ClientSession`.
Drops the collection, deleting all data, users, and indexes stored in it using the provided
`ClientSession`.
Drops the collection deleting all data users and indexes stored in it using the provided ` ClientSession ` .
pub fn drop_with_session(
        &self,
        options: impl Into<Option<DropCollectionOptions>>,
        session: &mut ClientSession,
    ) -> Result<()> {
        RUNTIME.block_on(
            self.async_collection
                .drop_with_session(options.into(), &mut session.async_client_session),
        )
    }
pub fn drop_with_session ( & self , options : impl Into < Option < DropCollectionOptions > > , session : & mut ClientSession , ) -> Result < ( ) > { RUNTIME . block_on ( self . async_collection . drop_with_session ( options . into ( ) , & mut session . async_client_session ) , ) }
Drops the collection, deleting all data, users, and indexes stored in it using the provided
`ClientSession`.
Drops the collection deleting all data users and indexes stored in it using the provided ` ClientSession ` .
&self
options
impl Into<Option<DropCollectionOptions>>
session
&mut ClientSession
&self
options
impl Into<Option<DropCollectionOptions>>
session
&mut ClientSession