Struct awc::middleware::Redirect [−][src]
pub struct Redirect { /* fields omitted */ }
Implementations
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 Redirect
impl UnwindSafe for Redirect
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