pub struct ForwardResult {
pub report: ForwardResponseReport,
pub status: u16,
pub upstream_alive: bool,
pub client_should_close: bool,
}Expand description
Result of forwarding a response, including upstream connection state.
Fields§
§report: ForwardResponseReport§status: u16HTTP status code of the forwarded response.
upstream_alive: boolTrue if the upstream connection is still usable (no Connection: close).
client_should_close: boolTrue if the response status indicates the client should not retry.
Auto Trait Implementations§
impl Freeze for ForwardResult
impl RefUnwindSafe for ForwardResult
impl Send for ForwardResult
impl Sync for ForwardResult
impl Unpin for ForwardResult
impl UnsafeUnpin for ForwardResult
impl UnwindSafe for ForwardResult
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