pub async fn run(self, ctx: &ExtensionContext<'_>, operation_name: Option<&str>) -> Response {
        if let Some((first, next)) = self.chain.split_first() {
            first
                .execute(
                    ctx,
                    operation_name,
                    NextExecute {
                        chain: next,
                        execute_fut: self.execute_fut,
                    },
                )
                .await
        } else {
            self.execute_fut.await
        }
    }
/// Call the [Extension::execute] function of next extension.
Call the [Extension::execute] function of next extension.
Call the [ Extension :: execute ] function of next extension .
pub async fn run(self, ctx: &ExtensionContext<'_>, operation_name: Option<&str>) -> Response {
        if let Some((first, next)) = self.chain.split_first() {
            first
                .execute(
                    ctx,
                    operation_name,
                    NextExecute {
                        chain: next,
                        execute_fut: self.execute_fut,
                    },
                )
                .await
        } else {
            self.execute_fut.await
        }
    }
pub async fn run ( self , ctx : & ExtensionContext < ' _ > , operation_name : Option < & str > ) -> Response { if let Some ( ( first , next ) ) = self . chain . split_first ( ) { first . execute ( ctx , operation_name , NextExecute { chain : next , execute_fut : self . execute_fut , } , ) . await } else { self . execute_fut . await } }
Call the [Extension::execute] function of next extension.
Call the [ Extension :: execute ] function of next extension .
self
ctx
&ExtensionContext<'_>
operation_name
Option<&str>
self
ctx
&ExtensionContext<'_>
operation_name
Option<&str>