pub enum ProxyTunnelOpen {
Tunnel(ProxyTunnel),
Response(ProxyResponse),
}Expand description
Result of opening an Upgrade route. Policy and resolution failures can be returned as a normal bounded HTTP response without falsely switching the client into tunnel mode.
Variants§
Tunnel(ProxyTunnel)
Response(ProxyResponse)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ProxyTunnelOpen
impl !Sync for ProxyTunnelOpen
impl !UnwindSafe for ProxyTunnelOpen
impl Freeze for ProxyTunnelOpen
impl Send for ProxyTunnelOpen
impl Unpin for ProxyTunnelOpen
impl UnsafeUnpin for ProxyTunnelOpen
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