pub struct HyperUnixStream { /* private fields */ }Available on crate feature
unix only.Expand description
A hyper-compatible Unix socket connection.
Implementations§
Trait Implementations§
Source§impl Connection for HyperUnixStream
Available on crate feature connector only.
impl Connection for HyperUnixStream
Available on crate feature
connector only.Source§impl Debug for HyperUnixStream
impl Debug for HyperUnixStream
Source§impl Read for HyperUnixStream
impl Read for HyperUnixStream
Source§impl Write for HyperUnixStream
impl Write for HyperUnixStream
Source§fn poll_write(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8],
) -> Poll<Result<usize, Error>>
fn poll_write( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], ) -> Poll<Result<usize, Error>>
Attempt to write bytes from
buf into the destination. Read moreSource§fn poll_flush(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<(), Error>>
fn poll_flush( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Result<(), Error>>
Attempts to flush the object. Read more
Source§fn poll_shutdown(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<(), Error>>
fn poll_shutdown( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Result<(), Error>>
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 moreimpl<'pin> Unpin for HyperUnixStreamwhere
PinnedFieldsOf<__HyperUnixStream<'pin>>: Unpin,
Auto Trait Implementations§
impl !Freeze for HyperUnixStream
impl RefUnwindSafe for HyperUnixStream
impl Send for HyperUnixStream
impl Sync for HyperUnixStream
impl UnwindSafe for HyperUnixStream
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