Trait spacegate_kernel::helper_layers::function::FnLayerMethod
source · pub trait FnLayerMethod: Send + 'static {
// Required method
fn call(
&self,
req: Request<SgBody>,
inner: Inner
) -> impl Future<Output = Response<SgBody>> + Send;
}Expand description
see FnLayer
Required Methods§
fn call( &self, req: Request<SgBody>, inner: Inner ) -> impl Future<Output = Response<SgBody>> + Send
Object Safety§
This trait is not object safe.