Struct http_mitm_proxy::Upgrade
source · pub struct Upgrade {
pub client_to_server: UnboundedReceiver<Vec<u8>>,
pub server_to_client: UnboundedReceiver<Vec<u8>>,
}Expand description
Upgraded connection
Fields§
§client_to_server: UnboundedReceiver<Vec<u8>>Client to server traffic
server_to_client: UnboundedReceiver<Vec<u8>>Server to client traffic
Auto Trait Implementations§
impl Freeze for Upgrade
impl !RefUnwindSafe for Upgrade
impl Send for Upgrade
impl Sync for Upgrade
impl Unpin for Upgrade
impl !UnwindSafe for Upgrade
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