kvarn_
extensions
0.6.2
Byte
Proxy
Methods
channel
new
Auto Trait Implementations
!RefUnwindSafe
!Send
!Sync
!UnwindSafe
Freeze
Unpin
Blanket Implementations
Any
AsTaggedExplicit<'a, E>
AsTaggedImplicit<'a, E>
Borrow<T>
BorrowMut<T>
From<T>
Instrument
Into<U>
Pointable
Same
TryFrom<U>
TryInto<U>
VZip<V>
WithSubscriber
In kvarn_
extensions::
reverse_
proxy
kvarn_extensions
::
reverse_proxy
Struct
ByteProxy
Copy item path
source
pub struct ByteProxy<'a, B: AsyncRead + AsyncWrite +
Unpin
> {
/* private fields */
}
Available on
crate feature
reverse-proxy
only.
Implementations
§
source
§
impl<'a, B: AsyncRead + AsyncWrite +
Unpin
>
ByteProxy
<'a, B>
source
pub fn
new
(front: &'a mut
ResponseBodyPipe
, back:
&'a mut B
) -> Self
source
pub async fn
channel
(&mut self) ->
Result
<
()
,
OpenBackError
>
Auto Trait Implementations
§
§
impl<'a, B>
Freeze
for
BytePr