pub struct ProxyResponse {
pub status: u16,
pub headers: HeaderMap,
pub body: Body,
pub context: Arc<RwLock<ResponseContext>>,
}
Expand description
Represents an HTTP response returned by the proxy.
Fields§
§status: u16
§headers: HeaderMap
§body: Body
§context: Arc<RwLock<ResponseContext>>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ProxyResponse
impl !RefUnwindSafe for ProxyResponse
impl Send for ProxyResponse
impl Sync for ProxyResponse
impl Unpin for ProxyResponse
impl !UnwindSafe for ProxyResponse
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