pub struct WriteWithFd { /* private fields */ }Trait Implementations§
Source§impl AsyncWriteWithFd for WriteWithFd
impl AsyncWriteWithFd for WriteWithFd
Source§fn poll_write_with_fds<Fds: OwnedFds>(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8],
fds: &mut Fds,
) -> Poll<Result<usize>>
fn poll_write_with_fds<Fds: OwnedFds>( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], fds: &mut Fds, ) -> Poll<Result<usize>>
Writes the given buffer and file descriptors to a unix stream. buf
must contain at least one byte of data. This function should not be
called concurrently from different tasks. Otherwise you risk
interleaving data, as well as causing tasks to wake each other up and
eatting CPU.
Auto Trait Implementations§
impl Freeze for WriteWithFd
impl RefUnwindSafe for WriteWithFd
impl !Send for WriteWithFd
impl !Sync for WriteWithFd
impl Unpin for WriteWithFd
impl UnwindSafe for WriteWithFd
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