Struct tokio::net::unix::ReadHalf   [−][src]
pub struct ReadHalf<'a>(_);
Expand description
Read half of a UnixStream.
Trait Implementations
impl AsRef<UnixStream> for ReadHalf<'_>[src]
impl AsRef<UnixStream> for ReadHalf<'_>[src]fn as_ref(&self) -> &UnixStream[src]
fn as_ref(&self) -> &UnixStream[src]Performs the conversion.
impl AsyncRead for ReadHalf<'_>[src]
impl AsyncRead for ReadHalf<'_>[src]unsafe fn prepare_uninitialized_buffer(&self, _: &mut [MaybeUninit<u8>]) -> bool[src]
unsafe fn prepare_uninitialized_buffer(&self, _: &mut [MaybeUninit<u8>]) -> bool[src]Prepares an uninitialized buffer to be safe to pass to read. Returns
true if the supplied buffer was zeroed out. Read more