Struct kvarn_extensions::reverse_proxy::ByteProxy
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>
impl<'a, B: AsyncRead + AsyncWrite + Unpin> ByteProxy<'a, B>
pub fn new(front: &'a mut ResponseBodyPipe, back: &'a mut B) -> Self
pub async fn channel(&mut self) -> Result<(), OpenBackError>
Auto Trait Implementations§
impl<'a, B> !RefUnwindSafe for ByteProxy<'a, B>
impl<'a, B> !Send for ByteProxy<'a, B>
impl<'a, B> !Sync for ByteProxy<'a, B>
impl<'a, B> Unpin for ByteProxy<'a, B>
impl<'a, B> !UnwindSafe for ByteProxy<'a, B>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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