pub async fn destroy(&self) {
        self.tap(|sess| {
            sess.destroy = true;
            Some(1)
        })
        .await;
    }
/// Sets the Current Session to be Destroyed on the next run.
///
/// # Examples
/// ```rust no_run
/// session.destroy().await;
/// ```
///
Sets the Current Session to be Destroyed on the next run.
Sets the Current Session to be Destroyed on the next run .
pub async fn destroy(&self) {
        self.tap(|sess| {
            sess.destroy = true;
            Some(1)
        })
        .await;
    }
pub async fn destroy ( & self ) { self . tap ( | sess | { sess . destroy = true ; Some ( 1 ) } ) . await ; }
Sets the Current Session to be Destroyed on the next run.
Sets the Current Session to be Destroyed on the next run .
&self
&self
examples
```rust no_run
session.destroy().await;
```
` ` ` rust no_run session . destroy () . await ; ` ` `