pub struct ProxyConnectTunnel {
pub reader: Box<dyn Read + Send>,
pub writer: Box<dyn Write + Send>,
pub shutdown: Arc<dyn ProxyConnectShutdown>,
pub observation_id: Option<u64>,
pub correlation_epoch: u64,
pub publication_permit: ProxyPublicationPermit,
}Expand description
A raw, policy-bound CONNECT stream. The publication permit must validate
before the proxy exposes 200 Connection Established.
Fields§
§reader: Box<dyn Read + Send>Origin-to-browser half. Reads must have bounded waits.
writer: Box<dyn Write + Send>Browser-to-origin half. Writes must have bounded waits.
shutdown: Arc<dyn ProxyConnectShutdown>Wakes both halves when either direction finishes or is revoked.
observation_id: Option<u64>§correlation_epoch: u64§publication_permit: ProxyPublicationPermitTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ProxyConnectTunnel
impl !Sync for ProxyConnectTunnel
impl !UnwindSafe for ProxyConnectTunnel
impl Freeze for ProxyConnectTunnel
impl Send for ProxyConnectTunnel
impl Unpin for ProxyConnectTunnel
impl UnsafeUnpin for ProxyConnectTunnel
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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