pub struct ProxyConnection<T> { /* private fields */ }Trait Implementations§
Source§impl<T> Connection for ProxyConnection<T>where
T: Connection,
impl<T> Connection for ProxyConnection<T>where
T: Connection,
Source§impl<T: Debug> Debug for ProxyConnection<T>
impl<T: Debug> Debug for ProxyConnection<T>
Source§impl<T> Read for ProxyConnection<T>
impl<T> Read for ProxyConnection<T>
Source§impl<T> Write for ProxyConnection<T>
impl<T> Write for ProxyConnection<T>
Source§fn poll_write(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8],
) -> Poll<Result<usize>>
fn poll_write( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], ) -> Poll<Result<usize>>
Attempt to write bytes from
buf into the destination. Read moreSource§fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<()>>
fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<()>>
Attempts to flush the object. Read more
Source§fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<()>>
fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<()>>
Attempts to shut down this writer.
Source§fn is_write_vectored(&self) -> bool
fn is_write_vectored(&self) -> bool
Returns whether this writer has an efficient
poll_write_vectored
implementation. Read moreAuto Trait Implementations§
impl<T> Freeze for ProxyConnection<T>where
T: Freeze,
impl<T> RefUnwindSafe for ProxyConnection<T>where
T: RefUnwindSafe,
impl<T> Send for ProxyConnection<T>where
T: Send,
impl<T> Sync for ProxyConnection<T>where
T: Sync,
impl<T> Unpin for ProxyConnection<T>where
T: Unpin,
impl<T> UnwindSafe for ProxyConnection<T>where
T: UnwindSafe,
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