Struct awc::middleware::Redirect
source · [−]pub struct Redirect { /* private fields */ }Implementations
Trait Implementations
sourceimpl<S> Transform<S, ConnectRequest> for Redirectwhere
S: Service<ConnectRequest, Response = ConnectResponse, Error = SendRequestError> + 'static,
impl<S> Transform<S, ConnectRequest> for Redirectwhere
S: Service<ConnectRequest, Response = ConnectResponse, Error = SendRequestError> + 'static,
type Transform = RedirectService<S>
sourcefn new_transform(self, service: S) -> Self::Transform
fn new_transform(self, service: S) -> Self::Transform
Creates and returns a new Transform component.
Auto Trait Implementations
impl RefUnwindSafe for Redirect
impl Send for Redirect
impl Sync for Redirect
impl Unpin for Redirect
impl UnwindSafe for Redirect
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more