Enum awc::ConnectRequest
source · [−]pub enum ConnectRequest {
Client(RequestHeadType, AnyBody, Option<SocketAddr>),
Tunnel(RequestHead, Option<SocketAddr>),
}
Variants
Client(RequestHeadType, AnyBody, Option<SocketAddr>)
Tunnel(RequestHead, Option<SocketAddr>)
Trait Implementations
impl<S> Transform<S, ConnectRequest> for Redirect where
S: Service<ConnectRequest, Response = ConnectResponse, Error = SendRequestError> + 'static,
impl<S> Transform<S, ConnectRequest> for Redirect where
S: Service<ConnectRequest, Response = ConnectResponse, Error = SendRequestError> + 'static,
type Transform = RedirectService<S>
Creates and returns a new Transform component.
Auto Trait Implementations
impl !RefUnwindSafe for ConnectRequest
impl !Send for ConnectRequest
impl !Sync for ConnectRequest
impl Unpin for ConnectRequest
impl !UnwindSafe for ConnectRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more