rust-server.context.mustache Maven / Gradle / Ivy
use futures::future::BoxFuture;
use hyper::header::HeaderName;
use hyper::{Error, Request, Response, StatusCode, service::Service};
use url::form_urlencoded;
use std::default::Default;
use std::io;
use std::marker::PhantomData;
use std::task::{Poll, Context};
use swagger::auth::{AuthData, Authorization, Bearer, Scopes};
use swagger::{EmptyContext, Has, Pop, Push, XSpanIdString};
use crate::{Api, AuthenticationApi};
use log::error;
pub struct MakeAddContext {
inner: T,
marker: PhantomData,
}
impl MakeAddContext
where
A: Default + Push,
B: Push
© 2015 - 2024 Weber Informatics LLC | Privacy Policy