pub struct PPPRefStream<'a, T> {
pub addr: Addresses,
/* private fields */
}Fields§
§addr: AddressesImplementations§
Trait Implementations§
Source§impl<'a, T> AsyncRead for PPPRefStream<'a, T>where
T: AsyncRead,
impl<'a, T> AsyncRead for PPPRefStream<'a, T>where
T: AsyncRead,
Source§impl<'a, T> AsyncWrite for PPPRefStream<'a, T>where
T: AsyncWrite,
impl<'a, T> AsyncWrite for PPPRefStream<'a, T>where
T: AsyncWrite,
Source§fn poll_write(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8],
) -> Poll<Result<usize, IoError>>
fn poll_write( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], ) -> Poll<Result<usize, IoError>>
Attempt to write bytes from
buf into the object. Read moreSource§fn poll_flush(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<(), IoError>>
fn poll_flush( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Result<(), IoError>>
Attempts to flush the object, ensuring that any buffered data reach
their destination. Read more
Source§fn poll_shutdown(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<(), IoError>>
fn poll_shutdown( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Result<(), IoError>>
Initiates or attempts to shut down this writer, returning success when
the I/O connection has completely shut down. Read more
Source§fn poll_write_vectored(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
bufs: &[IoSlice<'_>],
) -> Poll<Result<usize, Error>>
fn poll_write_vectored( self: Pin<&mut Self>, cx: &mut Context<'_>, bufs: &[IoSlice<'_>], ) -> Poll<Result<usize, Error>>
Like
poll_write, except that it writes from a slice of buffers. Read moreSource§fn is_write_vectored(&self) -> bool
fn is_write_vectored(&self) -> bool
Determines if this writer has an efficient
poll_write_vectored
implementation. Read moreSource§impl<'a, T: Debug> Debug for PPPRefStream<'a, T>
impl<'a, T: Debug> Debug for PPPRefStream<'a, T>
impl<'a, T> Unpin for PPPRefStream<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for PPPRefStream<'a, T>
impl<'a, T> RefUnwindSafe for PPPRefStream<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for PPPRefStream<'a, T>where
T: Send,
impl<'a, T> Sync for PPPRefStream<'a, T>where
T: Sync,
impl<'a, T> UnsafeUnpin for PPPRefStream<'a, T>
impl<'a, T> !UnwindSafe for PPPRefStream<'a, T>
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