pub struct ThirdWheel { /* private fields */ }
Expand description
A service that will proxy traffic to a target server and return unmodified responses
Trait Implementations§
Source§impl Clone for ThirdWheel
impl Clone for ThirdWheel
Source§fn clone(&self) -> ThirdWheel
fn clone(&self) -> ThirdWheel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Service<Request<Body>> for ThirdWheel
impl Service<Request<Body>> for ThirdWheel
Source§fn call(&mut self, request: Request<Body>) -> Self::Future
fn call(&mut self, request: Request<Body>) -> Self::Future
ThirdWheel performs very little modification of the request before transmitting it, but it does remove the proxy-connection header to ensure this is not passed to the target
Auto Trait Implementations§
impl Freeze for ThirdWheel
impl RefUnwindSafe for ThirdWheel
impl Send for ThirdWheel
impl Sync for ThirdWheel
impl Unpin for ThirdWheel
impl UnwindSafe for ThirdWheel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more